mirror of
https://github.com/youwen5/iamb.git
synced 2025-08-04 03:28:28 -07:00
Add missing <s>
tag in HTML parsing (#465)
This commit is contained in:
parent
2e6c711644
commit
ed9ee26854
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ fn h2t(hdl: &Handle, state: &mut TreeGenState) -> StyleTreeChildren {
|
||||||
|
|
||||||
StyleTreeNode::Style(c, s)
|
StyleTreeNode::Style(c, s)
|
||||||
},
|
},
|
||||||
"del" | "strike" => {
|
"del" | "s" | "strike" => {
|
||||||
let c = c2t(&node.children.borrow(), state);
|
let c = c2t(&node.children.borrow(), state);
|
||||||
let s = Style::default().add_modifier(StyleModifier::CROSSED_OUT);
|
let s = Style::default().add_modifier(StyleModifier::CROSSED_OUT);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue