aboutsummaryrefslogtreecommitdiffstats
path: root/post
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2019-06-09 09:50:01 -0700
committerAdam Mathes <adam@trenchant.org>2019-06-09 09:50:01 -0700
commit7772cec376efaea096375789dfa193fa6086255a (patch)
tree299feda74dbd5e89c72ee05896cb8d7f4fdc4013 /post
parent97e935a1947291d6b422877906dbb75e22b05e2d (diff)
downloadsnkt-master.tar.gz
snkt-master.tar.bz2
snkt-master.zip
go.mod support, upgrade to use v2 blackfridayHEADmaster
Diffstat (limited to 'post')
-rw-r--r--post/post.go2
1 files changed, 1 insertions, 1 deletions
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
}