pandoc/test/docx/lists_multiple_initial.native
Michael Hoffmann 74bd5a4f47
Docx writer: better handle list items whose contents are lists (#6522)
If the first element of a bulleted or ordered list is another list,
then that first item will disappear if the target format is docx. This
changes the docx writer so that it prepends an empty string for those
cases. With this, no items will disappear.

Closes #5948.
2020-10-02 09:30:05 -07:00

8 lines
197 B
Text

[OrderedList (1,Decimal,Period)
[[OrderedList (1,LowerAlpha,TwoParens)
[[Para [Str "foo"]]
,[Para [Str "bar"]]]]]
,BulletList
[[BulletList
[[Para [Str "foo"]]
,[Para [Str "bar"]]]]]]