Remove comment

This commit is contained in:
Myriad-Dreamin 2025-06-03 02:06:53 +08:00
parent e4c316f2cc
commit eaf63ca80c

View File

@ -56,7 +56,6 @@ fn convert_html(node_ref: NodeRef<Node>) -> Value {
// https://en.wikipedia.org/wiki/Processing_Instruction
Node::Doctype(..) | Node::ProcessingInstruction(..) => return Value::None,
Node::Comment(comment) => {
// Werid but compatible with current `xml`.
return Value::Dict(dict! {
"tag" => "",
"attrs" => dict! {},