Commit 64ecd69 1 parent 84a47d2 commit 64ecd69 Copy full SHA for 64ecd69
File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 26
26
As a result, the following variants of ` quick_xml::escape::EscapeError ` are removed:
27
27
- ` TooLongDecimal `
28
28
- ` TooLongHexadecimal `
29
+ - [ #771 ] : Fixed ` Attribute::unescape_value ` which does not unescape predefined values since 0.32.0.
29
30
30
31
### Misc Changes
31
32
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl<'a> Attribute<'a> {
45
45
/// [`encoding`]: ../../index.html#encoding
46
46
#[ cfg( any( doc, not( feature = "encoding" ) ) ) ]
47
47
pub fn unescape_value ( & self ) -> XmlResult < Cow < ' a , str > > {
48
- self . unescape_value_with ( |_| None )
48
+ self . unescape_value_with ( resolve_predefined_entity )
49
49
}
50
50
51
51
/// Decodes using UTF-8 then unescapes the value, using custom entities.
You can’t perform that action at this time.
0 commit comments