diff --git a/server/lib/formatters/helpers.ts b/server/lib/formatters/helpers.ts index c7a8ab4..1d754c7 100644 --- a/server/lib/formatters/helpers.ts +++ b/server/lib/formatters/helpers.ts @@ -218,9 +218,6 @@ function stripHtml(input: string): string { .replace(/>/gi, ">") .replace(/"/gi, '"') .replace(/'/gi, "'") - // Entity decoding can reveal a tag prefix after the first pass. Remove - // angle brackets again so encoded ` codePoint(parseInt(hex, 16), m)) .replace(/&#(\d+);/g, (m, dec: string) => codePoint(Number(dec), m)) .replace(/&/gi, "&");