Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# Changelog

## Unreleased
## v3.0.3

- Fixed value_source_location() for attributes without a value.
- Fixed handling of never-matching empty attr selectors: `[att^=""]`, `[att$=""]`, `[att*=""]`
- Fixed `Attribute::value_source_location()` returning a bogus span for attributes written
without a value (e.g. `<div hidden>`): it now returns `None` for them. Previously it
returned a zero-length span pointing at the start of the parser's current buffer — or
`None`, depending on where the tag fell relative to a `write()` boundary — and in the
`None` case `name_source_location()` was also absent. Attribute source locations no
longer depend on how the input was chunked.
- Made memory limit stricter for attributes.
- Improved performance of deeply nested end tag handlers.

## v3.0.2

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lol_html"
version = "3.0.2"
version = "3.0.3"
authors = ["Ivan Nikulin <inikulin@cloudflare.com, ifaaan@gmail.com>"]
license = "BSD-3-Clause"
description = "Streaming HTML rewriter/parser with CSS selector-based API"
Expand Down
142 changes: 94 additions & 48 deletions c-api/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading