0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 13:49:10 +01: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 Detect delimiter in CSV rendering (#7869) 2019-08-16 01:09:50 +03:00
external Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
markdown Don't manually replace whitespace during render (#10291) 2020-02-17 07:46:51 +02:00
mdstripper Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
orgmode Update go-org to optimize code (#8824) 2019-11-05 16:39:03 +08:00
html.go Use media links for img in post-process (#10515) 2020-02-28 01:16:05 -03:00
html_internal_test.go Issue/PR Context Popups (#9822) 2020-01-19 23:39:21 -05:00
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 Prioritize "readme.md" (#5691) 2019-01-14 14:15:06 -05:00
sanitizer.go Fix task-list checkbox styling (#10668) 2020-03-08 21:17:03 +02:00
sanitizer_test.go Allow kbd tags (#9245) 2019-12-03 14:02:41 -05:00