diff options
Diffstat (limited to 'post')
-rw-r--r-- | post/post.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/post/post.go b/post/post.go index 5860eee..a09ced1 100644 --- a/post/post.go +++ b/post/post.go @@ -12,6 +12,7 @@ import ( "github.com/microcosm-cc/bluemonday" "github.com/russross/blackfriday" "github.com/rwcarlsen/goexif/exif" + // "gopkg.in/russross/blackfriday.v2" "io/ioutil" "log" "os" @@ -373,7 +374,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 } |