Skip to content

Commit f447307

Browse files
jvoisinfguillot
authored andcommitted
feat: add the i and small tags to the sanitizer's allowlist
1 parent 4892e04 commit f447307

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/reader/sanitizer/sanitizer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ var (
4545
"h5": {"id"},
4646
"h6": {"id"},
4747
"hr": {},
48+
"i": {},
4849
"iframe": {"width", "height", "frameborder", "src", "allowfullscreen"},
4950
"img": {"alt", "title", "src", "srcset", "sizes", "width", "height", "fetchpriority", "decoding"},
5051
"ins": {},
@@ -60,6 +61,7 @@ var (
6061
"rtc": {},
6162
"ruby": {},
6263
"s": {},
64+
"small": {},
6365
"samp": {},
6466
"source": {"src", "type", "srcset", "sizes", "media"},
6567
"strong": {},

0 commit comments

Comments
 (0)