mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Implement CDATASection interface and createCDATASection method
This commit is contained in:
parent
431423388e
commit
4b8282b3b1
18 changed files with 106 additions and 112 deletions
|
@ -232,7 +232,7 @@ impl<'a> Serialize for &'a Node {
|
|||
serializer.write_doctype(&doctype.name())?;
|
||||
},
|
||||
|
||||
NodeTypeId::CharacterData(CharacterDataTypeId::Text) => {
|
||||
NodeTypeId::CharacterData(CharacterDataTypeId::Text(_)) => {
|
||||
let cdata = n.downcast::<CharacterData>().unwrap();
|
||||
serializer.write_text(&cdata.data())?;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue