@lezer/html
Advanced tools
Changelog
1.3.10 (2024-05-29)
Fix an issue that broke attribute reading when defining a nested language on a tag that isn't a style
, textearea
, or script
tag.
Changelog
1.3.9 (2024-02-21)
When using the "selfClosing" dialect, fix parse errors for <br/>
(tags that implicitly self-close) and <script/>
(special tags).
Changelog
1.3.8 (2023-12-28)
Add bidiIsolate
node props for tags, comments, and attributes.
Mark tags, attributes, and comments as isolating for bidirectional text.
Changelog
1.3.7 (2023-11-23)
Fix a bug that caused the parser to not properly recognize empty HTML comments. Don't emit nested parses for empty elements in configureNesting
Fix an issue where configureNesting
could emit empty overlay ranges for empty elements.
Changelog
1.3.6 (2023-07-12)
Improve parsing of multiple unfinished opening tags by disallowing less-than characters in attribute names.
Changelog
1.3.4 (2023-03-27)
Fix a bug that caused mixed parsing of non-style/script elements to attach the nested parse tree to the incorrect node.
Changelog
1.3.2 (2023-02-16)
Fix a crash caused by nexted parsing of attributes returning invalid ranges for attributes missing their closing quote.