mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 15:31:06 +01:00
Fix markdown invoke sequence (#7513)
This commit is contained in:
parent
be9d67f887
commit
8ad64574ee
1 changed files with 1 additions and 1 deletions
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue