Fix serialization issue with poorly defined attribute names
This commit is contained in:
parent
313041a109
commit
b496abb576
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ pub fn serialize_to_xhtml<W: std::io::Write>(
|
|||
let attrs_str = attrs
|
||||
.map
|
||||
.iter()
|
||||
.filter(|(k, _)| &k.local != "\"")
|
||||
.map(|(k, v)| {
|
||||
format!(
|
||||
"{}=\"{}\"",
|
||||
|
|
Reference in a new issue