Files
pandoc/test/command/9197.md
T
John MacFarlane c08b112ffa Fix command test 9197.
We need an explicit `-o -` to get docx to go to stdout.
2026-10-22 19:45:47 -07:00

742 B

Paragraphs after the first in a list item should not be turned into items of a separate list, and should round-trip:

% pandoc -f native -t docx -o - | pandoc -f docx -t native
[ BulletList
    [ [ Para [ Str "one" ]
      , Para [ Str "sub" ]
      , BulletList
          [ [ Para [ Str "nested" ]
            , Para [ Str "nested" , Space , Str "sub" ]
            ]
          ]
      , Para [ Str "back" ]
      ]
    , [ Para [ Str "two" ] ]
    ]
]
^D
[ BulletList
    [ [ Para [ Str "one" ]
      , Para [ Str "sub" ]
      , BulletList
          [ [ Para [ Str "nested" ]
            , Para [ Str "nested" , Space , Str "sub" ]
            ]
          ]
      , Para [ Str "back" ]
      ]
    , [ Para [ Str "two" ] ]
    ]
]