diff options
author | Alexander Scheel <alexander.m.scheel@gmail.com> | 2020-03-08 15:17:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 21:17:03 +0200 |
commit | b8551f8532ef7b98cdd8522440b3ff20f39b49f5 (patch) | |
tree | e7ab261599ad4d6dbee947618d57ee69fc84da15 /go.mod | |
parent | 33c5e5e7fa8ace0f8921b600736f126d752aa0ef (diff) | |
download | gitea-b8551f8532ef7b98cdd8522440b3ff20f39b49f5.tar.gz gitea-b8551f8532ef7b98cdd8522440b3ff20f39b49f5.zip |
Fix task-list checkbox styling (#10668)
* Fix task-list checkbox styling
The pandoc renderer will append the class "task-list" to the ul element
wrapping a li with one or more check-boxes. This allows us to select for
them, removing their list-style-type property. However, goldmark and the
gfm spec doesn't specify the "task-list" class name, so we can't use
that to fix the issue there.
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
* Update to goldmark v1.1.25
This version adds the missing space after a checkbox.
Resolves: #9656
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,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.24 + github.com/yuin/goldmark v1.1.25 go.etcd.io/bbolt v1.3.3 // indirect golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa |