@lezer/html
Advanced tools
Changelog
1.3.0 (2022-12-16)
configureNesting
now supports targeting tags other than style
, script
, and textarea
.
Changelog
1.2.0 (2022-11-25)
configureNesting
now takes a second argument that can be used to specify that the value of some attributes should be parsed with an external parser.
Changelog
1.1.1 (2022-11-18)
Align allowed characters in unquoted attribute values with the spec. Replace another unicode escape with a character
Changelog
1.1.0 (2022-11-16)
Allow more characters in attribute names, following HTML spec.
The new "selfClosing"
dialect allows />
syntax to be used to create self-closing tags.
Changelog
1.0.1 (2022-07-27)
Continue parsing when an invalid entity reference appears in an attribute value.
Changelog
0.16.1 (2022-05-16)
Fix a bug where comment end tokens preceded by dashes were sometimes not recognized.
Changelog
0.16.0 (2022-04-20)
Move to 0.16 serialized parser format.
The parser now includes syntax highlighting information in its node types.
Changelog
0.15.1 (2022-02-16)
Make sure the tree for unfinished self-closing tags shows them as self-closing.