1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00

Upgrade to latest Markdown processing engine

This commit is contained in:
Harvey Kandola 2018-02-09 13:34:53 +00:00
parent 1e2c468dc4
commit 0262763c95
22 changed files with 3560 additions and 2394 deletions

View file

@ -47,7 +47,7 @@ func (*Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http.R
// Render converts markdown data into HTML suitable for browser rendering.
func (*Provider) Render(ctx *provider.Context, config, data string) string {
result := blackfriday.MarkdownCommon([]byte(data))
result := blackfriday.Run([]byte(data))
return string(result)
}