all repos — grayfriday @ 78dbffcfb7d335bccc0e15de7040c5e35ac15301

blackfriday fork with a few changes

Merge pull request #58 from aspic/master

Explicit return byte array at end of function.
Vytautas Ĺ altenis vytas@rtfb.lt
Sat, 05 Apr 2014 21:48:09 +0300
commit

78dbffcfb7d335bccc0e15de7040c5e35ac15301

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 {