may as well allow subscript too

This commit is contained in:
Ted Unangst 2019-05-14 20:10:47 -04:00
parent b6e583de30
commit 647aef3027
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ import (
var permittedtags = []string{"div", "h1", "h2", "h3", "h4", "h5", "h6", var permittedtags = []string{"div", "h1", "h2", "h3", "h4", "h5", "h6",
"table", "thead", "tbody", "th", "tr", "td", "table", "thead", "tbody", "th", "tr", "td",
"p", "br", "pre", "code", "blockquote", "p", "br", "pre", "code", "blockquote",
"strong", "em", "b", "i", "s", "u", "sup", "del", "strong", "em", "b", "i", "s", "u", "sub", "sup", "del",
"ol", "ul", "li"} "ol", "ul", "li"}
var permittedattr = []string{"colspan", "rowspan"} var permittedattr = []string{"colspan", "rowspan"}
var bannedtags = []string{"script", "style"} var bannedtags = []string{"script", "style"}