1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-18 16:28:36 +00:00

Fix markdown invoke sequence (#7513) (#7560)

This commit is contained in:
Lunny Xiao
2019-07-22 19:27:47 +08:00
committed by Lauris BH
parent 5ebf4990a5
commit 337f2625ac

View File

@@ -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 (