mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 08:34:29 +00:00
parent
5ebf4990a5
commit
337f2625ac
@ -153,7 +153,7 @@ func RenderRaw(body []byte, urlPrefix string, wikiMarkdown bool) []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body = blackfriday.Markdown(body, renderer, exts)
|
body = blackfriday.Markdown(body, renderer, exts)
|
||||||
return body
|
return markup.SanitizeBytes(body)
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user