Skip to content

Commit

Permalink
Fix markdown invoke sequence (go-gitea#7513)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jul 22, 2019
1 parent 5ebf499 commit b0ff1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/markup/markdown/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit b0ff1c6

Please sign in to comment.