From a65f8d42e377087fe2571b086a845bfc94c7453d Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 5 May 2019 16:42:00 -0400 Subject: [PATCH] wow, people still use --- html.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html.go b/html.go index 8c9dbd4..e57efc0 100644 --- a/html.go +++ b/html.go @@ -31,7 +31,7 @@ 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", "del", + "strong", "em", "b", "i", "s", "u", "sup", "del", "ol", "ul", "li"} var permittedattr = []string{"colspan", "rowspan"} var bannedtags = []string{"script", "style"}