aboutsummaryrefslogtreecommitdiff
path: root/test/command/5321.md
blob: 975852482cc1e86cd48eee5ef2019a84212be490 (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
25
26
27
28
29
30
31
32
33
34
```
% 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:" )
    ]
]
```