@@ -0,0 +1,45 @@
1+```
2+% pandoc -f html -t native
3+<figure>
4+ <img src="foo.png" title="voyage">
5+ <figcaption>bar</figcaption>
6+</figure>
7+^D
8+[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]]
9+```
10+
11+```
12+% pandoc -f html -t native
13+<figure>
14+ <figcaption>bar</figcaption>
15+ <img src="foo.png" title="voyage">
16+</figure>
17+^D
18+[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]]
19+```
20+
21+```
22+% pandoc -f html -t native
23+<figure>
24+ <img src="foo.png" title="voyage">
25+</figure>
26+^D
27+[Para [Image ("",[],[]) [] ("foo.png","fig:voyage")]]
28+```
29+
30+```
31+% pandoc -f html -t native
32+<figure>
33+ <p><img src="foo.png" title="voyage"></p>
34+ <figcaption>bar</figcaption>
35+</figure>
36+^D
37+[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]]
38+```
39+
40+```
41+% pandoc -f html -t native
42+<figure><img src="foo.png" title="voyage" alt="this is ignored"><figcaption>bar <strong>baz</strong></figcaption></figure>
43+^D
44+[Para [Image ("",[],[]) [Str "bar",Space,Strong [Str "baz"]] ("foo.png","fig:voyage")]]
45+```