mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 01:36:45 +00:00
Previously ordered lists starting with a code block did not round trip. Pandoc uses an indented code block, and according to commonmark rules only one space is gobbled after the list marker; however, pandoc added two. This has now been fixed. An incidental change fixes an oddity in markua list indentation. Closes #11762.
255 B
255 B
% pandoc -f native -t commonmark | pandoc -f commonmark -t native
[ OrderedList
( 1 , Decimal , Period )
[ [ CodeBlock ( "" , [] , [] ) "hi" ] ]
]
^D
[ OrderedList
( 1 , Decimal , Period )
[ [ CodeBlock ( "" , [] , [] ) "hi" ] ]
]