Browse Source

Fix markdown invoke sequence (#7513)

for-closed-social
Lunny Xiao 4 years ago
committed by techknowlogick
parent
commit
8ad64574ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/markup/markdown/markdown.go

+ 1
- 1
modules/markup/markdown/markdown.go View File

@ -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