From 02dfd9ee72a046cb9ee295bff62a5e739e21625e Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sun, 9 Jun 2019 09:53:23 -0700 Subject: upgrade to blackfriday v2 dependency --- models/item/item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') 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 { -- cgit v1.2.3