Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00

Fix markdown invoke sequence (#7513)

This commit is contained in:
Lunny Xiao 2019-07-19 04:23:27 +08:00 committed by techknowlogick
parent be9d67f887
commit 8ad64574ee

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 (