forked from alemi/upub
feat(mdhtml): also allow <br/>
This commit is contained in:
parent
dc5d9a32d4
commit
78dbf54384
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ impl TokenSink for Sink {
|
||||||
if !matches!(
|
if !matches!(
|
||||||
tag.name.as_ref(),
|
tag.name.as_ref(),
|
||||||
"h1" | "h2" | "h3"
|
"h1" | "h2" | "h3"
|
||||||
| "hr" | "p" | "b" | "i"
|
| "hr" | "br" | "p" | "b" | "i"
|
||||||
| "blockquote" | "pre" | "code"
|
| "blockquote" | "pre" | "code"
|
||||||
| "ul" | "ol" | "li"
|
| "ul" | "ol" | "li"
|
||||||
| "img" | "a"
|
| "img" | "a"
|
||||||
|
|
Loading…
Reference in a new issue