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
|
let attrs_str = attrs
|
||||||
.map
|
.map
|
||||||
.iter()
|
.iter()
|
||||||
|
.filter(|(k, _)| &k.local != "\"")
|
||||||
.map(|(k, v)| {
|
.map(|(k, v)| {
|
||||||
format!(
|
format!(
|
||||||
"{}=\"{}\"",
|
"{}=\"{}\"",
|
||||||
|
|
Reference in a new issue