From 337f2625ac6f48abdacafe13c56cc27766e4b358 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 22 Jul 2019 19:27:47 +0800 Subject: [PATCH] Fix markdown invoke sequence (#7513) (#7560) --- modules/markup/markdown/markdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/markup/markdown/markdown.go b/modules/markup/markdown/markdown.go index aab951c60..d9fc76889 100644 --- a/modules/markup/markdown/markdown.go +++ b/modules/markup/markdown/markdown.go @@ -153,7 +153,7 @@ func RenderRaw(body []byte, urlPrefix string, wikiMarkdown bool) []byte { } body = blackfriday.Markdown(body, renderer, exts) - return body + return markup.SanitizeBytes(body) } var (