diff options
author | Adam Mathes <adam@trenchant.org> | 2019-06-09 09:50:01 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2019-06-09 09:50:01 -0700 |
commit | 7772cec376efaea096375789dfa193fa6086255a (patch) | |
tree | 299feda74dbd5e89c72ee05896cb8d7f4fdc4013 /post | |
parent | 97e935a1947291d6b422877906dbb75e22b05e2d (diff) | |
download | snkt-7772cec376efaea096375789dfa193fa6086255a.tar.gz snkt-7772cec376efaea096375789dfa193fa6086255a.tar.bz2 snkt-7772cec376efaea096375789dfa193fa6086255a.zip |
go.mod support, upgrade to use v2 blackfriday
Diffstat (limited to 'post')
-rw-r--r-- | post/post.go | 2 |
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 } |