diff --git a/tests/html5lib_tree_builder.rs b/tests/html5lib_tree_builder.rs index 2a806e1..16ba5e1 100644 --- a/tests/html5lib_tree_builder.rs +++ b/tests/html5lib_tree_builder.rs @@ -224,7 +224,7 @@ fn serialize(buf: &mut String, indent: usize, handle: Handle) { NodeData::Text { ref contents } => { buf.push('"'); buf.push_str(&contents.borrow()); - buf.push('\n'); + buf.push_str("\"\n"); } NodeData::Comment { ref contents } => {