mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-17 17:39:54 +08:00
Fix: GFM empty task list conversion to ballot (#11744)
Extend `taskListItemToAscii` to cover empty task lists. Closes #11599.
This commit is contained in:
committed by
John MacFarlane
parent
bb00041908
commit
432414c236
@@ -0,0 +1,8 @@
|
||||
```
|
||||
% pandoc -f gfm -t gfm
|
||||
- [ ]
|
||||
- [ ] bubbles
|
||||
^D
|
||||
- [ ]
|
||||
- [ ] bubbles
|
||||
```
|
||||
@@ -220,3 +220,15 @@ hi
|
||||
- [ ] foo
|
||||
- [x] bar
|
||||
```
|
||||
|
||||
```
|
||||
% pandoc -f native -t gfm
|
||||
[ BulletList
|
||||
[ [ Plain [ Str "\9744" ] ]
|
||||
, [ Plain [ Str "\9746" ] ]
|
||||
]
|
||||
]
|
||||
^D
|
||||
- [ ]
|
||||
- [x]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user