pandoc-3.10.1: test/command/5368.md
```
% pandoc -t native
1. foo

2. foo2

3. foo3

Quux.
^D
[ OrderedList
( 1 , Decimal , Period )
[ [ Para [ Str "foo" ]
, Figure
( "" , [] , [] )
(Caption Nothing [ Plain [ Str "bar" ] ])
[ Plain
[ Image ( "" , [] , [] ) [ Str "bar" ] ( "bar.png" , "" )
]
]
]
, [ Para [ Str "foo2" ]
, Figure
( "" , [] , [] )
(Caption Nothing [ Plain [ Str "bar2" ] ])
[ Plain
[ Image
( "" , [] , [] ) [ Str "bar2" ] ( "bar2.png" , "" )
]
]
]
, [ Para [ Str "foo3" ]
, Figure
( "" , [] , [] )
(Caption Nothing [ Plain [ Str "foo3" ] ])
[ Plain
[ Image
( "" , [] , [] ) [ Str "foo3" ] ( "foo3.png" , "" )
]
]
]
]
, Para [ Str "Quux." ]
]
```