mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Long lines
This commit is contained in:
parent
bee5f6bfc7
commit
dc2664f5f9
1 changed files with 2 additions and 1 deletions
|
@ -169,7 +169,8 @@ fn parse_html(scope: NodeScope, url: Url, resource_task: ResourceTask) -> HtmlPa
|
||||||
None => None,
|
None => None,
|
||||||
Some(id) => Some(from_slice(id))
|
Some(id) => Some(from_slice(id))
|
||||||
};
|
};
|
||||||
let new_node = scope.new_node(Doctype(DoctypeData(name, public_id, system_id, doctype.force_quirks)));
|
let data = DoctypeData(name, public_id, system_id, doctype.force_quirks);
|
||||||
|
let new_node = scope.new_node(Doctype(data));
|
||||||
unsafe { reinterpret_cast(&new_node) }
|
unsafe { reinterpret_cast(&new_node) }
|
||||||
},
|
},
|
||||||
create_element: |tag: &hubbub::Tag| {
|
create_element: |tag: &hubbub::Tag| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue