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

Update build

parent 276c4cf3
No related branches found
No related tags found
1 merge request!22"Rework normalisation logic to handle new seal templates"
......@@ -6,11 +6,11 @@ const URL = require("url-parse");
const utils_1 = require("../utils");
const normalizePlainPart = (text, sealRemovalOptions) => {
text = exports.cleanupHiddenCharacters(text);
text = patchOutlookSafelinksWrappers(text);
if (sealRemovalOptions) {
text = removeSeal(text, sealRemovalOptions.sealUrl);
}
text = utils_1.normalizeTextSpacings(text);
text = patchOutlookSafelinksWrappers(text);
return text.trim();
};
exports.normalizePlainPart = normalizePlainPart;
......
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