v0.35.0 - a couple of bugfixes
What's Changed
New Features
- #772: Add
reader::Config::allow_unmatched_ends
to permit dangling end tags.
Bug Fixes
- #773: Fixed reporting incorrect end position in
Reader::read_to_end
family of methods and trimming of the trailing spaces inReader::read_text
whentrim_text_start
is set and the last event is not aText
event. - #771: Character references now allow any number of leading zeroes as it should. As a result, the following variants of
quick_xml::escape::EscapeError
are removed:TooLongDecimal
TooLongHexadecimal
- #771: Fixed
Attribute::unescape_value
which does not unescape predefined values since 0.32.0. - #774: Fixed regression since 0.33.0:
Text
event may be skipped inread_event_into()
andread_event_into_async()
in some circumstances.
Misc Changes
- #771:
EscapeError::UnrecognizedSymbol
renamed toEscapeError::UnrecognizedEntity
. - #771: Implemented
PartialEq
forEscapeError
. - #771: Replace the following variants of
EscapeError
byInvalidCharRef
variant with a newParseCharRefError
inside:EntityWithNull
InvalidDecimal
InvalidHexadecimal
InvalidCodepoint
New Contributors
- @torokati44 made their first contribution in #772
Full Changelog: v0.34.0...v0.35.0