mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
modules/base: clean code with #838
This commit is contained in:
@ -212,7 +212,7 @@ func RenderRawMarkdown(body []byte, urlPrefix string) []byte {
|
||||
func RenderMarkdown(rawBytes []byte, urlPrefix string) []byte {
|
||||
body := RenderSpecialLink(rawBytes, urlPrefix)
|
||||
body = RenderRawMarkdown(body, urlPrefix)
|
||||
body = XSS(body)
|
||||
body = Sanitizer.SanitizeBytes(body)
|
||||
return body
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user