easy-email-pro-theme 1.22.0 → 1.22.2

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -16499,7 +16499,7 @@ const getItemNode = (node) => {
16499
16499
  var _a2;
16500
16500
  if (node.nodeType === Node.TEXT_NODE) {
16501
16501
  return {
16502
- text: ((_a2 = node.textContent) == null ? void 0 : _a2.replace(/^\s+/, " ").replace(/\s+$/, " ")) || ""
16502
+ text: ((_a2 = node.textContent) == null ? void 0 : _a2.trim().replace(/\s+/g, " ").replace(/\n/g, "")) || ""
16503
16503
  };
16504
16504
  } else if (node.nodeType === Node.ELEMENT_NODE && node instanceof Element) {
16505
16505
  const attrs = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-theme",
3
- "version": "1.22.0",
3
+ "version": "1.22.2",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"