all repos — honk @ b2175e30256af4d1df6671b1e81061cc6c07aea8

my fork of honk

allow del tag in html
Ted Unangst tedu@tedunangst.com
Tue, 23 Apr 2019 22:42:14 -0400
commit

b2175e30256af4d1df6671b1e81061cc6c07aea8

parent

b93adc318d2266c3e43dbf776142b20d1eae5b18

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M html.gohtml.go

@@ -30,7 +30,8 @@ )

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