all repos — honk @ 9be0ce1985109a377066279c2744ba646ab7fd1e

my fork of honk

blockquote injection was just for testing, revert.
Ted Unangst tedu@tedunangst.com
Tue, 14 May 2019 11:13:24 -0400
commit

9be0ce1985109a377066279c2744ba646ab7fd1e

parent

12bd79a57083fca102c90a4bcf638ba66fb5a50b

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

jump to
M fun.gofun.go

@@ -151,7 +151,6 @@ var re_bolder = regexp.MustCompile(`(^|\W)\*\*([\w\s,.!?']+)\*\*($|\W)`)

var re_italicer = regexp.MustCompile(`(^|\W)\*([\w\s,.!?']+)\*($|\W)`) var re_bigcoder = regexp.MustCompile("```\n?((?s:.*?))\n?```") var re_coder = regexp.MustCompile("`([^`]*)`") -var re_quoter = regexp.MustCompile(`(?m:^> (.*)\n)`) func markitzero(s string) string { var bigcodes []string

@@ -168,7 +167,6 @@ }

s = re_coder.ReplaceAllStringFunc(s, lilsaver) s = re_bolder.ReplaceAllString(s, "$1<b>$2</b>$3") s = re_italicer.ReplaceAllString(s, "$1<i>$2</i>$3") - s = re_quoter.ReplaceAllString(s, "<blockquote>$1</blockquote>") lilun := func(s string) string { code := lilcodes[0] lilcodes = lilcodes[1:]