Privatize Comment

This commit is contained in:
Tim Taubert 2014-10-12 12:46:29 +02:00
parent 78fef7eec5
commit e15f8cb37f
3 changed files with 9 additions and 3 deletions

View file

@ -69,7 +69,7 @@ pub fn serialize(iterator: &mut NodeIterator) -> String {
fn serialize_comment(comment: JSRef<Comment>, html: &mut String) {
html.push_str("<!--");
html.push_str(comment.characterdata.data().as_slice());
html.push_str(comment.characterdata().data().as_slice());
html.push_str("-->");
}