sr-npm 1.7.1260 → 1.7.1261
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -339,7 +339,8 @@ if(jobName.name===" Apparel Team Member - The Warehouse, Dargaville")
|
|
|
339
339
|
console.log("html is : ",html);
|
|
340
340
|
}
|
|
341
341
|
if (!richContent || !richContent.nodes) return richContent;
|
|
342
|
-
|
|
342
|
+
html = html.replace(/<\/?span[^>]*>/gi, '');
|
|
343
|
+
console.log("html is after : ",html);
|
|
343
344
|
const hasConsecutiveParagraphs = /<\/p>\s*<p/i.test(html);
|
|
344
345
|
const hasParagraphBeforeList = /<\/p>\s*<ul/i.test(html);
|
|
345
346
|
const hasParagraphAfterList = /<\/ul>\s*<p/i.test(html);
|