```
% pandoc -f jats -t native
bar
^D
[ Figure
( "fig-1" , [] , [] )
(Caption Nothing [ Plain [ Str "bar" ] ])
[ Div
( "" , [ "caption" ] , [] )
[ Header 6 ( "" , [] , [] ) [] , Para [ Str "bar" ] ]
, Para
[ Image ( "" , [] , [] ) [ Str "baz" ] ( "foo.png" , "" ) ]
]
]
```
```
% pandoc -f jats -t native
foo
bar
^D
[ Figure
( "fig-1" , [] , [] )
(Caption
Nothing [ Plain [ Str "foo" , LineBreak , Str "bar" ] ])
[ Div
( "" , [ "caption" ] , [] )
[ Header 6 ( "" , [] , [] ) [ Str "foo" ]
, Para [ Str "bar" ]
]
, Para
[ Image ( "" , [] , [] ) [ Str "baz" ] ( "foo.png" , "" ) ]
]
]
```