diff --git a/src/PlainNormalizer/PlainNormalizer.ts b/src/PlainNormalizer/PlainNormalizer.ts index f230a11e347ba5f819048fc49e375200445ca671..dd3587795aa0a2fea6248af18b91f47932683270 100644 --- a/src/PlainNormalizer/PlainNormalizer.ts +++ b/src/PlainNormalizer/PlainNormalizer.ts @@ -5,7 +5,6 @@ import { normalizeTextSpacings } from "../utils"; export const normalizePlainPart = (text: string): string => { text = cleanupHiddenCharacters(text); - text = removeListBullets(text); text = removeQRCodes(text); text = normalizeTextSpacings(text); text = patchOutlookSafelinksWrappers(text); @@ -35,10 +34,6 @@ const removeQRCodes = (s: string): string => { .replace(/<https:\/\/.+?>\s*\[(image: )*qrcode.png]/g, ""); }; -const removeListBullets = (s: string): string => { - return s.replace("\n[o§]\n+/g", ""); -}; - export const cleanupHiddenCharacters = (s: string): string => { const removeSymbols = new RegExp(/[\u200B]+/g); return s.replace(removeSymbols, "");