mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Privatize DocumentType
This commit is contained in:
parent
e15f8cb37f
commit
ba073d7e99
3 changed files with 28 additions and 12 deletions
|
@ -101,7 +101,7 @@ fn serialize_processing_instruction(processing_instruction: JSRef<ProcessingInst
|
|||
|
||||
fn serialize_doctype(doctype: JSRef<DocumentType>, html: &mut String) {
|
||||
html.push_str("<!DOCTYPE");
|
||||
html.push_str(doctype.name.as_slice());
|
||||
html.push_str(doctype.name().as_slice());
|
||||
html.push_char('>');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue