forgejo/modules/markup
Alexander Scheel b8551f8532
Fix task-list checkbox styling ()
* 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: 

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 () 2020-02-27 20:10:27 -03:00
csv Detect delimiter in CSV rendering () 2019-08-16 01:09:50 +03:00
external Better logging () () 2019-04-02 08:48:31 +01:00
markdown Don't manually replace whitespace during render () 2020-02-17 07:46:51 +02:00
mdstripper Change markdown rendering from blackfriday to goldmark () 2019-12-31 03:53:28 +02:00
orgmode Update go-org to optimize code () 2019-11-05 16:39:03 +08:00
html.go Use media links for img in post-process () 2020-02-28 01:16:05 -03:00
html_internal_test.go Issue/PR Context Popups () 2020-01-19 23:39:21 -05:00
html_test.go Relax sanitization as per https://github.com/jch/html-pipeline () 2020-02-28 20:05:12 +00:00
markup.go Don't manually replace whitespace during render () 2020-02-17 07:46:51 +02:00
markup_test.go Prioritize "readme.md" () 2019-01-14 14:15:06 -05:00
sanitizer.go Fix task-list checkbox styling () 2020-03-08 21:17:03 +02:00
sanitizer_test.go Allow kbd tags () 2019-12-03 14:02:41 -05:00