v9.0.0
Breaking Changes
- The tokenizer now uses the
EntityDecoderfrom theentitiesmodule #1480- Parsing of entities in attributes is now aligned with the HTML spec, and some inputs will produce different results. Eg. in
<a href='&=boo'>the attribute value won't be modified any more. - The
ontextentitytokenizer callback now has anendIndexargument; if you use the tokenizer directly, make sure indices are still the same.
- Parsing of entities in attributes is now aligned with the HTML spec, and some inputs will produce different results. Eg. in
- Stacks inside the parser have been reversed. #1511
Features
- Added a
createDocumentStreamfunction, analogous tocreateDomStream(which is now deprecated) #1510
Full Changelog: v8.0.2...v9.0.0