allow del tag in html

This commit is contained in:
Ted Unangst 2019-04-23 22:42:14 -04:00
parent 6428150107
commit eb6678e523
1 changed files with 2 additions and 1 deletions

View File

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