// Angular Core
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'detectApostrophe',
  standalone: false
})
export class DetectApostrophePipe implements PipeTransform {

  transform(value: string, ...args: unknown[]): string {
    /**
      * detects apostrophe and places it in the text
      * @param {String} input
      * @returns {String}
      */
    let input = value.replace("&#039;", "'");
    return input;
  }

}
