diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-12-05 09:32:40 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-12-05 09:32:40 -0800 |
commit | 79a10388daedf959c23dfef108a035d436108657 (patch) | |
tree | d1759249c77ce606f0d9f14f529e8e991b5dbc63 /test | |
parent | 4489283b03fecce31c49f37809932cebb8b72d46 (diff) | |
download | pandoc-79a10388daedf959c23dfef108a035d436108657.tar.gz |
HTML writer: add task-list class to ul if all elements are task list items.
This will allow styling unordered task lists in a way that omits
the bullet.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/tasklist.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command/tasklist.md b/test/command/tasklist.md index 5ff628e1c..2f648d187 100644 --- a/test/command/tasklist.md +++ b/test/command/tasklist.md @@ -5,7 +5,7 @@ tests adapted from <https://github.github.com/gfm/#task-list-items-extension-> - [ ] foo - [x] bar ^D -<ul> +<ul class="task-list"> <li><input type="checkbox" disabled="" /> foo</li> <li><input type="checkbox" disabled="" checked="" /> @@ -21,9 +21,9 @@ bar</li> - [x] baz - [ ] bim ^D -<ul> +<ul class="task-list"> <li><input type="checkbox" disabled="" checked="" /> -foo<ul> +foo<ul class="task-list"> <li><input type="checkbox" disabled="" /> bar</li> <li><input type="checkbox" disabled="" checked="" /> @@ -73,7 +73,7 @@ ordered unchecked</li> ordered checked</li> </ol> <p>paragraph</p> -<ul> +<ul class="task-list"> <li><p><input type="checkbox" disabled="" /> list item with a</p><p>second paragraph</p></li> <li><p><input type="checkbox" disabled="" checked="" /> |