Skip to content
Snippets Groups Projects

"Rework normalisation logic to handle new seal templates"

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -13,11 +13,12 @@ export const normalizePlainPart = (
): string => {
text = cleanupHiddenCharacters(text);
text = patchOutlookSafelinksWrappers(text);
if (sealRemovalOptions) {
text = removeSeal(text, sealRemovalOptions.sealUrl);
}
text = normalizeTextSpacings(text);
text = patchOutlookSafelinksWrappers(text);
return text.trim();
};
Loading