Download Latest Version v10.0.0 source code.zip (95.3 kB)
Email in envelope

Get an email when there's a new version of htmlparser2

Home / v9.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-05-10 826 Bytes
v9.0.0.tar.gz 2023-05-10 133.7 kB
v9.0.0.zip 2023-05-10 144.9 kB
Totals: 3 Items   279.4 kB 0

Breaking Changes

  • The tokenizer now uses the EntityDecoder from the entities module https://github.com/fb55/htmlparser2/pull/1480
    • Parsing of entities in attributes is now aligned with the HTML spec, and some inputs will produce different results. Eg. in <a href='&amp=boo'> the attribute value won't be modified any more.
    • The ontextentity tokenizer callback now has an endIndex argument; if you use the tokenizer directly, make sure indices are still the same.
  • Stacks inside the parser have been reversed. https://github.com/fb55/htmlparser2/pull/1511

Features

Full Changelog: https://github.com/fb55/htmlparser2/compare/v8.0.2...v9.0.0

Source: README.md, updated 2023-05-10