Add missing <s> tag in HTML parsing (#465)

This commit is contained in:
VAWVAW
2025-06-21 18:22:21 +00:00
committed by GitHub
parent 2e6c711644
commit ed9ee26854

View File

@@ -748,7 +748,7 @@ fn h2t(hdl: &Handle, state: &mut TreeGenState) -> StyleTreeChildren {
StyleTreeNode::Style(c, s)
},
"del" | "strike" => {
"del" | "s" | "strike" => {
let c = c2t(&node.children.borrow(), state);
let s = Style::default().add_modifier(StyleModifier::CROSSED_OUT);