all repos — grayfriday @ 786aed6213c0a30a525e84728e99120db20c0dd7

blackfriday fork with a few changes

Explicit return byte array at end of function.
Kjetil Mehl aspic@mehl.no
Sat, 05 Apr 2014 16:59:28 +0200
commit

786aed6213c0a30a525e84728e99120db20c0dd7

parent

55bb56bf9b0fd106c6a7b6f89123fbf435bd8e50

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

jump to
M html.gohtml.go

@@ -818,9 +818,8 @@

func sanitizeTag(tag []byte) []byte { if tagWhitelist.Match(tag) || anchorClean.Match(tag) || imgClean.Match(tag) { return tag - } else { - return []byte("") } + return []byte("") } func skipUntilChar(text []byte, start int, char byte) int {