aboutsummaryrefslogtreecommitdiff
path: root/test/command/5321.md
blob: 081abe2a002d7196678ab63cc9e643cb3cf01837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
```
% pandoc -f jats -t native
<fig id="fig-1">
  <caption>
    <p>bar</p>
  </caption>
  <graphic xlink:href="foo.png" xlink:alt-text="baz">
</fig>
^D
[Para [Image ("fig-1",[],[]) [Str "bar"] ("foo.png","fig:")]]
```

```
% pandoc -f jats -t native
<fig id="fig-1">
  <caption>
    <title>foo</title>
    <p>bar</p>
  </caption>
  <graphic xlink:href="foo.png" xlink:alt-text="baz">
</fig>
^D
[Para [Image ("fig-1",[],[]) [Str "foo",LineBreak,Str "bar"] ("foo.png","fig:")]]
```