mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-12 04:17:16 +00:00
f5531f18a5
Task lists are now properly formatted, with no bullet. In addition, we have removed an expensive generic traverse to remove Space elements, and replaced it with code in `inlinesToOpenXML`. This should give better performance; it also reduces XML size in the metadata, which wasn't previously affected by the de-Spacing. TODO: parse this in the reader so that we can have task lists round-trip. Closes #5198.
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
[ BulletList
|
|
[ [ Para [ Str "\9744" , Space , Str "Unchecked" ] ]
|
|
, [ Para [ Str "\9746" , Space , Str "Checked" ]
|
|
, Para
|
|
[ Str "with"
|
|
, Space
|
|
, Str "continuation"
|
|
, Space
|
|
, Str "paragraph"
|
|
]
|
|
]
|
|
, [ Para [ Str "\9744" , Space , Str "Unchecked" ]
|
|
, BulletList
|
|
[ [ Plain
|
|
[ Str "\9746"
|
|
, Space
|
|
, Str "Checked"
|
|
, Space
|
|
, Str "sublist"
|
|
]
|
|
, BulletList
|
|
[ [ Plain
|
|
[ Str "\9744"
|
|
, Space
|
|
, Str "Unchecked"
|
|
, Space
|
|
, Str "subsublist"
|
|
]
|
|
, OrderedList
|
|
( 1 , Decimal , Period )
|
|
[ [ Plain [ Str "Numbered" , Space , Str "child" ]
|
|
]
|
|
]
|
|
]
|
|
]
|
|
]
|
|
]
|
|
]
|
|
]
|
|
]
|