1
0
Fork 0

sanitizer: allow id in <sup>

One of blogs I read uses anchor on <sup> to link a footnote back to its
reference.
This commit is contained in:
xdavidwu 2023-01-31 21:35:43 +08:00 committed by Frédéric Guillot
parent d38fc80bad
commit 08f7835f5d

View file

@ -414,7 +414,7 @@ func getTagAllowList() map[string][]string {
whitelist["wbr"] = []string{}
whitelist["dfn"] = []string{}
whitelist["sub"] = []string{}
whitelist["sup"] = []string{}
whitelist["sup"] = []string{"id"}
whitelist["var"] = []string{}
whitelist["samp"] = []string{}
whitelist["s"] = []string{}