lol-html

Low output latency streaming HTML parser/rewriter with CSS selector-based API

BSD-3-CLAUSE License

Downloads
486.5K
Stars
1.5K
Committers
20

Bot releases are hidden (Show)

lol-html - v1.1.1 Latest Release

Published by orium about 1 year ago

Fixed

  • Ensure that TagScanner::is_in_end_tag resets when changing parsers.
lol-html - v1.1.0

Published by orium about 1 year ago

Added

  • Added ability to get the tag and attribute names with the original casing.
lol-html - v1.0.1

Published by orium over 1 year ago

Fixed

  • The C API's new lol_html_element_add_end_tag_handler() function now sets the last error retrievable by lol_html_take_last_error() if it is called on an element that can have no end tag.
lol-html - v1.0.0

Published by orium over 1 year ago

Yes, you got that right: this is the first 1.x release! From now on you should expect this project to adhere to
the semantic versioning spec (we have been somewhat relaxed about that in the past).

Added

  • Added Element::end_tag_handlers() which allows better control over the end tag handlers.

Changed

  • Removed Element::on_end_tag() and Element::add_on_end_tag() in favor of the newly added
    Element::end_tag_handlers().
lol-html - v0.4.0

Published by orium over 1 year ago

Added

  • Added method TextChunk::as_mut_str() and TextChunk::set_str() for in-place modifications to the text in a
    TextChunk. (#175)

Changed

  • Modified method Element::on_end_tag() to support multiple handlers. This is a breaking change since the old
    semantics of the method was to overwrite any previously set handler. (#177)
lol-html - v0.3.3

Published by inikulin over 1 year ago

Added

  • Support dynamic charset change on meta tags in HtmlRewriter. (#162)
  • Add Element::can_have_content. (#163)
lol-html - v0.2.0

Published by inikulin over 4 years ago

Package Rankings
Top 6.06% on Proxy.golang.org
Top 4.2% on Crates.io
Related Projects