remove some extra newlines that tend to appear in code blocks
Ted Unangst tedu@tedunangst.com
Sat, 11 May 2019 10:41:47 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
fun.go
→
fun.go
@@ -156,7 +156,7 @@ }
var re_bolder = regexp.MustCompile(`(^|\W)\*\*([\w\s,.!?']+)\*\*($|\W)`) var re_italicer = regexp.MustCompile(`(^|\W)\*([\w\s,.!?']+)\*($|\W)`) -var re_bigcoder = regexp.MustCompile("```((?s:.*?))```") +var re_bigcoder = regexp.MustCompile("\n?```\n?((?s:.*?))\n?```\n?") var re_coder = regexp.MustCompile("`(.*?)`") func markitzero(s string) string {