From 5e5438043b4f83124cc7f764cf599fd608367b05 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 14 May 2019 11:13:24 -0400 Subject: [PATCH] blockquote injection was just for testing, revert. --- fun.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/fun.go b/fun.go index c8ee334..e2097dd 100644 --- a/fun.go +++ b/fun.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 @@ func markitzero(s string) string { s = re_coder.ReplaceAllStringFunc(s, lilsaver) s = re_bolder.ReplaceAllString(s, "$1$2$3") s = re_italicer.ReplaceAllString(s, "$1$2$3") - s = re_quoter.ReplaceAllString(s, "
$1
") lilun := func(s string) string { code := lilcodes[0] lilcodes = lilcodes[1:]