mirror of
https://github.com/typst/typst
synced 2025-07-27 06:17:53 +08:00
Remove comment
This commit is contained in:
parent
e4c316f2cc
commit
eaf63ca80c
@ -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! {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user