Fix: GFM empty task list conversion to ballot (#11744)

Extend `taskListItemToAscii` to cover empty task lists.
Closes #11599.
This commit is contained in:
Chirag Dhamange
2026-07-12 12:01:23 +02:00
committed by John MacFarlane
parent bb00041908
commit 432414c236
3 changed files with 24 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
```
% pandoc -f gfm -t gfm
- [ ]
- [ ] bubbles
^D
- [ ]
- [ ] bubbles
```
+12
View File
@@ -220,3 +220,15 @@ hi
- [ ] foo
- [x] bar
```
```
% pandoc -f native -t gfm
[ BulletList
[ [ Plain [ Str "\9744" ] ]
, [ Plain [ Str "\9746" ] ]
]
]
^D
- [ ]
- [x]
```