Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com
1## 1.3.13 (2025-12-22) 2 3### Bug fixes 4 5Set the `bracketed` flag for nested parses inside quotes or tags. 6 7## 1.3.12 (2025-09-26) 8 9### Bug fixes 10 11Emit tokens for `<` characters without tag name, so that autocompletion can work with them. 12 13## 1.3.11 (2025-09-25) 14 15### Bug fixes 16 17Don't parse `<` followed by whitespace as the start of a tag. 18 19## 1.3.10 (2024-05-29) 20 21### Bug fixes 22 23Fix an issue that broke attribute reading when defining a nested language on a tag that isn't a `style`, `textearea`, or `script` tag. 24 25## 1.3.9 (2024-02-21) 26 27### Bug fixes 28 29When using the "selfClosing" dialect, fix parse errors for `<br/>` (tags that implicitly self-close) and `<script/>` (special tags). 30 31## 1.3.8 (2023-12-28) 32 33### Bug fixes 34 35Add `bidiIsolate` node props for tags, comments, and attributes. 36 37Mark tags, attributes, and comments as isolating for bidirectional text. 38 39## 1.3.7 (2023-11-23) 40 41### Bug fixes 42 43Fix a bug that caused the parser to not properly recognize empty HTML comments. Don't emit nested parses for empty elements in configureNesting 44 45Fix an issue where `configureNesting` could emit empty overlay ranges for empty elements. 46 47## 1.3.6 (2023-07-12) 48 49### Bug fixes 50 51Improve parsing of multiple unfinished opening tags by disallowing less-than characters in attribute names. 52 53## 1.3.5 (2023-07-03) 54 55### Bug fixes 56 57Make the package work with new TS resolution styles. 58 59## 1.3.4 (2023-03-27) 60 61### Bug fixes 62 63Fix a bug that caused mixed parsing of non-style/script elements to attach the nested parse tree to the incorrect node. 64 65## 1.3.3 (2023-02-21) 66 67### Bug fixes 68 69Make sure build output is strictly ES6 again. 70 71## 1.3.2 (2023-02-16) 72 73### Bug fixes 74 75Fix a crash caused by nexted parsing of attributes returning invalid ranges for attributes missing their closing quote. 76 77## 1.3.1 (2023-02-11) 78 79### Bug fixes 80 81Always allow self-closing tags in `<svg>` and `<math>` tags. 82 83## 1.3.0 (2022-12-16) 84 85### New features 86 87`configureNesting` now supports targeting tags other than `style`, `script`, and `textarea`. 88 89## 1.2.0 (2022-11-25) 90 91### New features 92 93`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. 94 95## 1.1.1 (2022-11-18) 96 97### Bug fixes 98 99Align allowed characters in unquoted attribute values with the spec. Replace another unicode escape with a character 100 101## 1.1.0 (2022-11-16) 102 103### Bug fixes 104 105Allow more characters in attribute names, following HTML spec. 106 107### New features 108 109The new `"selfClosing"` dialect allows `/>` syntax to be used to create self-closing tags. 110 111## 1.0.1 (2022-07-27) 112 113### Bug fixes 114 115Continue parsing when an invalid entity reference appears in an attribute value. 116 117## 1.0.0 (2022-06-06) 118 119### New features 120 121First stable version. 122 123## 0.16.1 (2022-05-16) 124 125### Bug fixes 126 127Fix a bug where comment end tokens preceded by dashes were sometimes not recognized. 128 129## 0.16.0 (2022-04-20) 130 131### Breaking changes 132 133Move to 0.16 serialized parser format. 134 135### New features 136 137The parser now includes syntax highlighting information in its node types. 138 139## 0.15.1 (2022-02-16) 140 141### Bug fixes 142 143Make sure the tree for unfinished self-closing tags shows them as self-closing. 144 145## 0.15.0 (2021-08-11) 146 147### Breaking changes 148 149The module's name changed from `lezer-html` to `@lezer/html`. 150 151Upgrade to the 0.15.0 lezer interfaces. 152 153## 0.13.6 (2021-06-16) 154 155### Bug fixes 156 157Add a rule for invalid `&` syntax to avoid error-recovery around stray ampersands. 158 159## 0.13.5 (2021-05-05) 160 161### Bug fixes 162 163Fix a problem where like attributes inappropriately included trailing whitespace. 164 165## 0.13.4 (2021-03-10) 166 167### Bug fixes 168 169Strip quotes from attribute values passed to `attrs` predicates in `configureNesting`. 170 171## 0.13.3 (2021-02-17) 172 173### Bug fixes 174 175Optimize the tokenizer by using a context tracker. 176 177## 0.13.2 (2021-01-22) 178 179### Bug fixes 180 181Make comments consist of multiple tokens, so that huge comments don't freeze the parser. 182 183## 0.13.1 (2020-12-04) 184 185### Bug fixes 186 187Fix versions of lezer packages depended on. 188 189## 0.13.0 (2020-12-04) 190 191### Breaking changes 192 193The nested parser configuration utility is now called `configureNesting`, and returns an object to pass to `Parser.configure`'s `nested` option instead of a new parser. 194 195### New features 196 197The parser can now be given a "noMatch" dialect to not mark mismatched tags. 198 199## 0.12.0 (2020-10-23) 200 201### Breaking changes 202 203Adjust to changed serialized parser format. 204 205### New features 206 207The parser now more effectively matches close and open tags, even in the presence of mismatched tags. 208 209## 0.11.1 (2020-09-26) 210 211### Bug fixes 212 213Fix lezer depencency versions 214 215## 0.11.0 (2020-09-26) 216 217### Breaking changes 218 219Follow change in serialized parser format. 220 221## 0.10.0 (2020-08-07) 222 223### Breaking changes 224 225Upgrade to 0.10 parser serialization 226 227## 0.9.0 (2020-06-08) 228 229### Breaking changes 230 231Upgrade to 0.9 parser serialization 232 233### New features 234 235Tag start/end tokens now have `NodeProp.openedBy`/`closedBy` props. 236 237## 0.8.4 (2020-04-09) 238 239### Bug fixes 240 241Regenerate parser with a fix in lezer-generator so that the top node prop is properly assigned. 242 243## 0.8.3 (2020-04-01) 244 245### Bug fixes 246 247Make the package load as an ES module on node 248 249## 0.8.2 (2020-02-28) 250 251### New features 252 253Provide an ES module file. 254 255## 0.8.1 (2020-02-26) 256 257### Bug fixes 258 259Adds support for single-quoted attribute values. 260 261Don't treat /> tag ends as self-closing, just ignore them instead. 262 263## 0.8.0 (2020-02-03) 264 265### New features 266 267Follow 0.8.0 release of the library. 268 269## 0.7.0 (2020-01-20) 270 271### Breaking changes 272 273Use the lezer 0.7.0 parser format. 274 275## 0.5.2 (2020-01-15) 276 277### Bug fixes 278 279Allow whitespace between the `<` and `/` in a close tag. 280 281## 0.5.1 (2019-10-22) 282 283### Bug fixes 284 285Fix top prop missing from build output. 286 287## 0.5.0 (2019-10-22) 288 289### Breaking changes 290 291Move from `lang` to `top` prop on document node. 292 293## 0.4.0 (2019-09-10) 294 295### Breaking changes 296 297Adjust to 0.4.0 parse table format. 298 299## 0.3.0 (2019-08-22) 300 301### New features 302 303First numbered release.