@esportsplus/template 0.22.2 → 0.22.3
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/build/constants.js +1 -1
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/build/constants.js
CHANGED
|
@@ -26,7 +26,7 @@ const NODE_WHITELIST = {
|
|
|
26
26
|
'track': NODE_VOID,
|
|
27
27
|
'wbr': NODE_VOID
|
|
28
28
|
};
|
|
29
|
-
const REGEX_EMPTY_TEXT_NODES = /(>|}
|
|
29
|
+
const REGEX_EMPTY_TEXT_NODES = /(>|}|\s)\s+(<|{|\s)/g;
|
|
30
30
|
const REGEX_EVENTS = /(?:\s*on[\w-:]+\s*=(?:\s*["'][^"']*["'])*)/g;
|
|
31
31
|
const REGEX_SLOT_ATTRIBUTES = /<[\w-]+([^><]*{{\$}}[^><]*)>/g;
|
|
32
32
|
const REGEX_SLOT_NODES = /<([\w-]+|[\/!])(?:([^><]*{{\$}}[^><]*)|(?:[^><]*))?>|{{\$}}/g;
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED