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 aa1d391 commit 0315ed0Copy full SHA for 0315ed0
Changelog.md
@@ -26,6 +26,7 @@
26
As a result, the following variants of `quick_xml::escape::EscapeError` are removed:
27
- `TooLongDecimal`
28
- `TooLongHexadecimal`
29
+- [#771]: Fixed `Attribute::unescape_value` which does not unescape predefined values since 0.32.0.
30
31
### Misc Changes
32
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