Doctype nodes should be represented as text nodes to ActionScript (if they somehow grab hold of them)
This commit is contained in:
parent
6b4bbee195
commit
fd14d0c9df
|
@ -240,6 +240,7 @@ pub fn create_xmlnode_proto<'gc>(
|
|||
.map(|n| {
|
||||
match n.node_type() {
|
||||
xml::DOCUMENT_NODE => xml::ELEMENT_NODE,
|
||||
xml::DOCUMENT_TYPE_NODE => xml::TEXT_NODE,
|
||||
xml::COMMENT_NODE => xml::TEXT_NODE,
|
||||
n => n,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue