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
1 changed files with 1 additions and 1 deletions

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{}