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.
- package/lib/index.js +1 -1
- 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(
|
|
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 = {};
|