@willbooster/tree-sitter-html 1.0.5 → 1.0.6
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/README.md +5 -1
- package/grammar.js +1 -1
- package/package.json +1 -1
- package/tree-sitter-html.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,11 @@ lexers that generator emits treat a NUL character as an ordinary character. This
|
|
|
22
22
|
characters and bare `&` in text nodes, which upstream 0.23.2 rejects. A bare `&` becomes its own `text` node beside
|
|
23
23
|
surrounding text, while character references remain `entity` nodes. Its scanner requires an HTML tag-name boundary after
|
|
24
24
|
`</script` and `</style`, so longer names and overlapping prefixes remain raw text. Closing-name comparisons
|
|
25
|
-
fold only ASCII letters, and embedded NUL characters remain part of raw-text content.
|
|
25
|
+
fold only ASCII letters, and embedded NUL characters remain part of raw-text content. Script content follows
|
|
26
|
+
HTML escaped and double-escaped states, so closing-tag text inside a double escape remains raw text. A script that reaches
|
|
27
|
+
EOF while scanning raw content closes implicitly without an error: its `script_element` has no `end_tag` child, and its
|
|
28
|
+
remaining content stays available for JavaScript injection. Incomplete closing tags such as `</script` still report
|
|
29
|
+
recovery errors. Unterminated style elements still report an error. Void elements close
|
|
26
30
|
before following text, entities, and complete comments, which become siblings instead of children.
|
|
27
31
|
Scanner serialization stores the open-tag stack from its innermost tag, compressing runs of identical tags, so active
|
|
28
32
|
void, script, and style elements retain their identities when deeply nested. When deep nesting of distinct tags
|
package/grammar.js
CHANGED
package/package.json
CHANGED
package/tree-sitter-html.wasm
CHANGED
|
Binary file
|