Skip to content

Commit ad1f69d

Browse files
committed
fix markdown sanitize
1 parent f3bbe81 commit ad1f69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/markup/markdown/markdown.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func RenderRaw(body []byte, urlPrefix string, wikiMarkdown bool) []byte {
153153
}
154154

155155
body = blackfriday.Markdown(body, renderer, exts)
156-
return body
156+
return markup.SanitizeBytes(body)
157157
}
158158

159159
var (

0 commit comments

Comments
 (0)