@legalplace/prerenderx 2.3.43 → 2.3.44

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.
@@ -41,6 +41,7 @@ var OptionRender = (function () {
41
41
  var output = OutputParser_1.parseOutputWithVariables(option.meta.output, variables, autonums);
42
42
  output = output.replace(/\n/g, '<br />');
43
43
  output = output.replace(/<p><\/p>/g, '<br />');
44
+ output = output.replace(/\xA0/g, ' ');
44
45
  this.outputs.push(output);
45
46
  }
46
47
  this.renderChildren();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/prerenderx",
3
- "version": "2.3.43",
3
+ "version": "2.3.44",
4
4
  "description": "PrerenderX",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://git.legalplace.eu/legalplace/prerenderx",
@@ -64,6 +64,9 @@ class OptionRender {
64
64
  // Replacing empty paragraphs with line-break
65
65
  output = output.replace(/<p><\/p>/g, '<br />')
66
66
 
67
+ // Cleaning \xA0
68
+ output = output.replace(/\xA0/g, ' ')
69
+
67
70
  // Pushing output
68
71
  this.outputs.push(output)
69
72
  }