mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 18:49:29 +02:00
1 parent
5ebf4990a5
commit
337f2625ac
1 file changed
+1
-1
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user