diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-07-19 04:23:27 +0800 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-07-18 16:23:27 -0400 |
commit | 8ad64574ee80692ccc39c797ff88f65f09449412 (patch) | |
tree | 02d2fd784191bad1aa557483928fd2611d73b693 | |
parent | be9d67f8876eef577925e4ca8458aa72fcc822e5 (diff) | |
download | gitea-8ad64574ee80692ccc39c797ff88f65f09449412.tar.gz gitea-8ad64574ee80692ccc39c797ff88f65f09449412.zip |
Fix markdown invoke sequence (#7513)
-rw-r--r-- | modules/markup/markdown/markdown.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markup/markdown/markdown.go b/modules/markup/markdown/markdown.go index aab951c60f..d9fc768891 100644 --- a/modules/markup/markdown/markdown.go +++ b/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 ( |