0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-08-18 16:24:53 +02:00
gitea/modules/markup
Alexander Scheel b8551f8532
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>
2020-03-08 21:17:03 +02:00
..
common Fix potential bugs (#10513) 2020-02-27 20:10:27 -03:00
csv
external
markdown Don't manually replace whitespace during render (#10291) 2020-02-17 07:46:51 +02:00
mdstripper
orgmode
html.go Use media links for img in post-process (#10515) 2020-02-28 01:16:05 -03:00
html_internal_test.go
html_test.go Relax sanitization as per https://github.com/jch/html-pipeline (#10527) 2020-02-28 20:05:12 +00:00
markup.go Don't manually replace whitespace during render (#10291) 2020-02-17 07:46:51 +02:00
markup_test.go
sanitizer.go Fix task-list checkbox styling (#10668) 2020-03-08 21:17:03 +02:00
sanitizer_test.go