Skip to content
Snippets Groups Projects
Commit ae411b04 authored by Igor Markin's avatar Igor Markin
Browse files

Patch safelinks wrapper before removal of the seal

parent 696e6699
No related branches found
No related tags found
1 merge request!22"Rework normalisation logic to handle new seal templates"
......@@ -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();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment