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:
parent
d38fc80bad
commit
08f7835f5d
1 changed files with 1 additions and 1 deletions
|
@ -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{}
|
||||
|
|
Loading…
Reference in a new issue