aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2019-06-09 09:53:23 -0700
committerAdam Mathes <adam@trenchant.org>2019-06-09 09:53:23 -0700
commit02dfd9ee72a046cb9ee295bff62a5e739e21625e (patch)
treec846956959330544daa48b4a593da30d168b87da /models
parent9cf78ece35e43838b8d7b496fb471122d91dab13 (diff)
downloadneko-02dfd9ee72a046cb9ee295bff62a5e739e21625e.tar.gz
neko-02dfd9ee72a046cb9ee295bff62a5e739e21625e.tar.bz2
neko-02dfd9ee72a046cb9ee295bff62a5e739e21625e.zip
upgrade to blackfriday v2 dependency
Diffstat (limited to 'models')
-rw-r--r--models/item/item.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/item/item.go b/models/item/item.go
index badd566..500fec9 100644
--- a/models/item/item.go
+++ b/models/item/item.go
@@ -102,7 +102,7 @@ func (i *Item) GetFullContent() {
var md, img string
md = ""
img = ""
- md = string(blackfriday.MarkdownCommon([]byte(article.CleanedText)))
+ md = string(blackfriday.Run([]byte(article.CleanedText)))
ht, err := article.TopNode.Html()
if err != nil {