aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-12-31 01:53:28 +0000
committerLauris BH <lauris@nix.lv>2019-12-31 03:53:28 +0200
commit27757714d0420192e6139d1e4206446dcefe6531 (patch)
treed237deeb48315f1465dbd915b65f95973c4cbbe9 /go.mod
parent0c07f1de5b8cf7b9f9f607aae76a53c99aeb2c04 (diff)
downloadgitea-27757714d0420192e6139d1e4206446dcefe6531.tar.gz
gitea-27757714d0420192e6139d1e4206446dcefe6531.zip
Change markdown rendering from blackfriday to goldmark (#9533)
* Move to goldmark Markdown rendering moved from blackfriday to the goldmark. Multiple subtle changes required to the goldmark extensions to keep current rendering and defaults. Can go further with goldmark linkify and have this work within markdown rendering making the link processor unnecessary. Need to think about how to go about allowing extensions - at present it seems that these would be hard to do without recompilation. * linter fixes Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod3
1 files changed, 1 insertions, 2 deletions
diff --git a/go.mod b/go.mod
index 2f81c9b16a..5d22b82745 100644
--- a/go.mod
+++ b/go.mod
@@ -79,11 +79,9 @@ require (
github.com/prometheus/procfs v0.0.4 // indirect
github.com/quasoft/websspi v1.0.0
github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 // indirect
- github.com/russross/blackfriday/v2 v2.0.1
github.com/satori/go.uuid v1.2.0
github.com/sergi/go-diff v1.0.0
github.com/shurcooL/httpfs v0.0.0-20190527155220-6a4d4a70508b // indirect
- github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
github.com/steveyen/gtreap v0.0.0-20150807155958-0abe01ef9be2 // indirect
github.com/stretchr/testify v1.4.0
@@ -95,6 +93,7 @@ require (
github.com/unknwon/paginater v0.0.0-20151104151617-7748a72e0141
github.com/urfave/cli v1.20.0
github.com/yohcop/openid-go v0.0.0-20160914080427-2c050d2dae53
+ github.com/yuin/goldmark v1.1.19
go.etcd.io/bbolt v1.3.3 // indirect
golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876
golang.org/x/net v0.0.0-20191101175033-0deb6923b6d9