@willbooster/tree-sitter-html 1.0.1 → 1.0.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/README.md +4 -1
- package/package.json +1 -1
- package/tree-sitter-html.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,10 @@ number, so it loads only with the WillBooster runtime, version 2.0.0 or later
|
|
|
17
17
|
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter)); upstream's runtime rejects
|
|
18
18
|
it. Input that contains NUL characters can parse to a different tree than with upstream's 0.23.2 parser, because the
|
|
19
19
|
lexers that generator emits treat a NUL character as an ordinary character. This grammar also accepts literal `>`
|
|
20
|
-
characters in text nodes, which upstream 0.23.2 rejects.
|
|
20
|
+
characters in text nodes, which upstream 0.23.2 rejects. Its scanner requires an HTML tag-name boundary after
|
|
21
|
+
`</script` and `</style`, so longer names and overlapping prefixes remain raw text. Closing-name comparisons
|
|
22
|
+
fold only ASCII letters, and embedded NUL characters remain part of raw-text content. Incomplete elements
|
|
23
|
+
retain their existing recovery behavior.
|
|
21
24
|
|
|
22
25
|
## Usage
|
|
23
26
|
|
package/package.json
CHANGED
package/tree-sitter-html.wasm
CHANGED
|
Binary file
|