We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1470a commit 613a6bbCopy full SHA for 613a6bb
Changelog.md
@@ -21,6 +21,7 @@
21
As a result, the following variants of `quick_xml::escape::EscapeError` are removed:
22
- `TooLongDecimal`
23
- `TooLongHexadecimal`
24
+- [#771]: Fixed `Attribute::unescape_value` which does not unescape predefined values since 0.32.0.
25
26
### Misc Changes
27
src/events/attributes.rs
@@ -45,7 +45,7 @@ impl<'a> Attribute<'a> {
45
/// [`encoding`]: ../../index.html#encoding
46
#[cfg(any(doc, not(feature = "encoding")))]
47
pub fn unescape_value(&self) -> XmlResult<Cow<'a, str>> {
48
- self.unescape_value_with(|_| None)
+ self.unescape_value_with(resolve_predefined_entity)
49
}
50
51
/// Decodes using UTF-8 then unescapes the value, using custom entities.
0 commit comments