Fix markdown invoke sequence (#7513)

tokarchuk/v1.17
Lunny Xiao 6 years ago committed by techknowlogick
parent be9d67f887
commit 8ad64574ee
  1. 2
      modules/markup/markdown/markdown.go

@ -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…
Cancel
Save