sr-npm 1.7.1262 → 1.7.1263

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.
@@ -335,14 +335,12 @@ function createEmptyParagraph(id) {
335
335
  // Adds empty paragraph nodes between consecutive paragraphs and before lists
336
336
  function addEmptyParagraphsBetweenConsecutive(html, richContent,jobName) {
337
337
  console.log("jobName is : ",jobName);
338
- if(jobName.name===" Apparel Team Member - The Warehouse, Dargaville")
338
+ if(jobName.name==="Assistant Store Manager - Noel Leeming Albany")
339
339
  {
340
340
  console.log("rich content is : ",richContent);
341
341
  console.log("html is : ",html);
342
342
  }
343
343
  if (!richContent || !richContent.nodes) return richContent;
344
- html = html.replace(/<\/?span[^>]*>/gi, '');
345
- console.log("html is after : ",html);
346
344
  const hasConsecutiveParagraphs = /<\/p>\s*<p/i.test(html);
347
345
  const hasParagraphBeforeList = /<\/p>\s*<ul/i.test(html);
348
346
  const hasParagraphAfterList = /<\/ul>\s*<p/i.test(html);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.1262",
3
+ "version": "1.7.1263",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {