all repos — honk @ ab8c0c121d9664ed38b7ffb7fc7fb57b914362d7

my fork of honk

may as well allow subscript too
Ted Unangst tedu@tedunangst.com
Tue, 14 May 2019 20:10:47 -0400
commit

ab8c0c121d9664ed38b7ffb7fc7fb57b914362d7

parent

14d1cd8cc0bdeca1ae9780639c73299623b7c640

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

jump to
M html.gohtml.go

@@ -31,7 +31,7 @@

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", "u", "sup", "del", + "strong", "em", "b", "i", "s", "u", "sub", "sup", "del", "ol", "ul", "li"} var permittedattr = []string{"colspan", "rowspan"} var bannedtags = []string{"script", "style"}