From 7772cec376efaea096375789dfa193fa6086255a Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sun, 9 Jun 2019 09:50:01 -0700 Subject: go.mod support, upgrade to use v2 blackfriday --- post/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post') diff --git a/post/post.go b/post/post.go index 5860eee..b3eee51 100644 --- a/post/post.go +++ b/post/post.go @@ -373,7 +373,7 @@ Filter runs the text through filters defined by render.Filter and markdown, retu */ func (p *Post) Filter(txt []byte) []byte { txt = render.Filter(txt) - txt = blackfriday.MarkdownCommon(txt) + txt = blackfriday.Run(txt) return txt } -- cgit v1.2.3