diff options
author | Adam Mathes <adam@trenchant.org> | 2019-06-09 09:53:23 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2019-06-09 09:53:23 -0700 |
commit | 02dfd9ee72a046cb9ee295bff62a5e739e21625e (patch) | |
tree | c846956959330544daa48b4a593da30d168b87da /models | |
parent | 9cf78ece35e43838b8d7b496fb471122d91dab13 (diff) | |
download | neko-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.go | 2 |
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 { |