I have a Markdown document which is generated by some application. All things go correct, but there are some problems with ordered lists.
Below is minimal reproducible example of such Markdown document:
# Heading 1
Some text
## Heading 1.1
1. list item
1. list item
## Heading 1.2
3. list item
1. list item
## Heading 1.3
7. list item
3. list item
The output format really does not matter, but for PDF (produced by pandoc list-test.md -o list.pdf) I get the following:
But for example ReText renders the code as expected:
Why this happens?

