1
0
Fork 0
forked from alemi/upub

feat(mdhtml): also allow <br/>

This commit is contained in:
əlemi 2024-05-03 00:59:54 +02:00
parent dc5d9a32d4
commit 78dbf54384
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -16,7 +16,7 @@ impl TokenSink for Sink {
if !matches!(
tag.name.as_ref(),
"h1" | "h2" | "h3"
| "hr" | "p" | "b" | "i"
| "hr" | "br" | "p" | "b" | "i"
| "blockquote" | "pre" | "code"
| "ul" | "ol" | "li"
| "img" | "a"