fix(mdhtml): pass <s> too
This commit is contained in:
parent
e300c31488
commit
5481299140
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ impl TokenSink for Sanitizer {
|
||||||
if !matches!(
|
if !matches!(
|
||||||
tag.name.as_ref(),
|
tag.name.as_ref(),
|
||||||
"h1" | "h2" | "h3"
|
"h1" | "h2" | "h3"
|
||||||
| "hr" | "br" | "p" | "b" | "i"
|
| "hr" | "br" | "p" | "b" | "i" | "s"
|
||||||
| "blockquote" | "pre" | "code"
|
| "blockquote" | "pre" | "code"
|
||||||
| "ul" | "ol" | "li"
|
| "ul" | "ol" | "li"
|
||||||
| "img" | "a"
|
| "img" | "a"
|
||||||
|
|
Loading…
Reference in a new issue