From b8bb416b5ecbb60809225c4c6a9002e5aef74696 Mon Sep 17 00:00:00 2001
From: igor <igor.markin@vereign.com>
Date: Tue, 29 Dec 2020 18:04:10 +0300
Subject: [PATCH] Do not remove paragraph symbols

---
 src/PlainNormalizer/PlainNormalizer.ts | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/PlainNormalizer/PlainNormalizer.ts b/src/PlainNormalizer/PlainNormalizer.ts
index f230a11..dd35877 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, "");
-- 
GitLab