diff options
Diffstat (limited to 'routers/api/v1')
-rw-r--r-- | routers/api/v1/misc/markdown.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/misc/markdown.go b/routers/api/v1/misc/markdown.go index 49979ef767..e4c4202694 100644 --- a/routers/api/v1/misc/markdown.go +++ b/routers/api/v1/misc/markdown.go @@ -25,7 +25,7 @@ func Markdown(ctx *middleware.Context, form api.MarkdownOption) { switch form.Mode { case "gfm": - ctx.Write(base.RenderMarkdown([]byte(form.Text), form.Context)) + ctx.Write(base.RenderMarkdown([]byte(form.Text), form.Context, nil)) default: ctx.Write(base.RenderRawMarkdown([]byte(form.Text), "")) } |