This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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 Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
orgmode
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
sanitizer.go Fix task-list checkbox styling (#10668) 2020-03-08 21:17:03 +02:00
sanitizer_test.go