diff options
Diffstat (limited to 'test/command/html-read-figure.md')
-rw-r--r-- | test/command/html-read-figure.md | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/test/command/html-read-figure.md b/test/command/html-read-figure.md index 9c604c706..d7eb96bb4 100644 --- a/test/command/html-read-figure.md +++ b/test/command/html-read-figure.md @@ -5,7 +5,11 @@ <figcaption>bar</figcaption> </figure> ^D -[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]] +[ Para + [ Image + ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" ) + ] +] ``` ``` @@ -15,7 +19,11 @@ <img src="foo.png" title="voyage"> </figure> ^D -[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]] +[ Para + [ Image + ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" ) + ] +] ``` ``` @@ -24,7 +32,9 @@ <img src="foo.png" title="voyage"> </figure> ^D -[Para [Image ("",[],[]) [] ("foo.png","fig:voyage")]] +[ Para + [ Image ( "" , [] , [] ) [] ( "foo.png" , "fig:voyage" ) ] +] ``` ``` @@ -34,12 +44,22 @@ <figcaption>bar</figcaption> </figure> ^D -[Para [Image ("",[],[]) [Str "bar"] ("foo.png","fig:voyage")]] +[ Para + [ Image + ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" ) + ] +] ``` ``` % pandoc -f html -t native <figure><img src="foo.png" title="voyage" alt="this is ignored"><figcaption>bar <strong>baz</strong></figcaption></figure> ^D -[Para [Image ("",[],[]) [Str "bar",Space,Strong [Str "baz"]] ("foo.png","fig:voyage")]] +[ Para + [ Image + ( "" , [] , [] ) + [ Str "bar" , Space , Strong [ Str "baz" ] ] + ( "foo.png" , "fig:voyage" ) + ] +] ``` |