@mgdis/stencil-helpers 3.2.13 → 3.2.14

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/dist/index.es.js CHANGED
@@ -713,7 +713,7 @@ var gt = (e, t = !1) => (e = e.replace(/<\s*textarea[^>]*>((.|\n)*?)<s*\/\s*text
713
713
  value: e
714
714
  }), t++, `\n[#-# : ${t} : ${e} : #-#]\n`));
715
715
  }, St = () => {
716
- let { config: e, constants: t } = X(), n = " ".repeat(e.tab_size), r = e.tag_wrap, i = e.content_wrap, a = e.strict, o = "", s = [], c = /<[A-Za-z]+\b[^>]*(?:.|\n)*?\/?>/g, l = /\s{1}[A-Za-z-]+(?:=".*?")?/g;
716
+ let { config: e, constants: t } = X(), n = " ".repeat(e.tab_size), r = e.tag_wrap, i = e.content_wrap, a = e.strict, o = "", s = [], c = /<[A-Za-z]+\b[^>]*(?:.|\n)*?\/?>/g, l = /\s{1}[A-Za-z:@#*?$()\[\].-]+(?:=".*?")?/g;
717
717
  Q.line.forEach((e, u) => {
718
718
  let d = e.value, f = d.startsWith("___HTMLFY_SPECIAL_IGNORE_MARKER_"), p = 0, m = Q.line[u - 1], h = m?.value ?? "";
719
719
  o += "0", u === 0 && p++, d.trim().startsWith("</") && p++, h.trim().startsWith("<!doctype") && p++, h.trim().startsWith("<!--") && p++, (h.trim().endsWith("/>") || h.trim().endsWith(t.SELF_CLOSING_PLACEHOLDER)) && p++, h.trim().startsWith("</") && p++, m?.type === "text" && p++;