html-validate 11.5.4 → 11.5.5
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/cjs/core.js +7 -3
- package/dist/cjs/core.js.map +1 -1
- package/dist/esm/core.js +7 -3
- package/dist/esm/core.js.map +1 -1
- package/dist/types/browser.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/cjs/core.js
CHANGED
|
@@ -2948,8 +2948,12 @@ class HtmlElement extends DOMNode {
|
|
|
2948
2948
|
return null;
|
|
2949
2949
|
}
|
|
2950
2950
|
appendText(text, location) {
|
|
2951
|
-
if (typeof text
|
|
2952
|
-
|
|
2951
|
+
if (typeof text !== "string") {
|
|
2952
|
+
if ("dynamic" in text) {
|
|
2953
|
+
text = new DynamicValue(text.dynamic);
|
|
2954
|
+
} else {
|
|
2955
|
+
text = new DynamicValue(text.expr);
|
|
2956
|
+
}
|
|
2953
2957
|
}
|
|
2954
2958
|
this.childNodes.push(new TextNode(text, location));
|
|
2955
2959
|
}
|
|
@@ -12841,7 +12845,7 @@ class EventHandler {
|
|
|
12841
12845
|
}
|
|
12842
12846
|
|
|
12843
12847
|
const name = "html-validate";
|
|
12844
|
-
const version = "11.5.
|
|
12848
|
+
const version = "11.5.5";
|
|
12845
12849
|
const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
|
|
12846
12850
|
|
|
12847
12851
|
function freeze(src) {
|