mirror of
https://github.com/typst/typst
synced 2025-07-27 14:27:56 +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
|
// https://en.wikipedia.org/wiki/Processing_Instruction
|
||||||
Node::Doctype(..) | Node::ProcessingInstruction(..) => return Value::None,
|
Node::Doctype(..) | Node::ProcessingInstruction(..) => return Value::None,
|
||||||
Node::Comment(comment) => {
|
Node::Comment(comment) => {
|
||||||
// Werid but compatible with current `xml`.
|
|
||||||
return Value::Dict(dict! {
|
return Value::Dict(dict! {
|
||||||
"tag" => "",
|
"tag" => "",
|
||||||
"attrs" => dict! {},
|
"attrs" => dict! {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user