Treat unknown html tags as plain text (#509)
This commit is contained in:
@@ -820,7 +820,8 @@ fn h2t(hdl: &Handle, state: &mut TreeGenState) -> StyleTreeChildren {
|
|||||||
*c2t(&node.children.borrow(), state)
|
*c2t(&node.children.borrow(), state)
|
||||||
},
|
},
|
||||||
|
|
||||||
_ => return vec![],
|
// Treat unknown tags as plain text.
|
||||||
|
_ => *c2t(&node.children.borrow(), state),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user