diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-09-11 09:31:41 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-09-11 09:31:41 -0700 |
commit | 71841de0f3d02fc2c88d61ab5d29b7022090f5f1 (patch) | |
tree | 32fa72fc34daf2ba5f199c5971c7b0ac411983e3 /tests | |
parent | d47eadaf5645a807385f62b5b265274594182967 (diff) | |
download | pandoc-71841de0f3d02fc2c88d61ab5d29b7022090f5f1.tar.gz |
Mediawiki: Parse an image + caption in a para by itself as a figure.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mediawiki-reader.native | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mediawiki-reader.native b/tests/mediawiki-reader.native index a424be0ae..5ddbd309f 100644 --- a/tests/mediawiki-reader.native +++ b/tests/mediawiki-reader.native @@ -84,10 +84,10 @@ Pandoc (Meta {unMeta = fromList []}) ,Para [Link [Str "#My",Space,Str "anchor"] ("#My_anchor","wikilink")] ,Para [Link [Str "and",Space,Str "text"] ("Page#with_anchor","wikilink")] ,Header 2 ("",[],[]) [Str "images"] -,Para [Image [Str "caption"] ("example.jpg","image")] -,Para [Image [Str "the",Space,Emph [Str "caption"],Space,Str "with",Space,Link [Str "external",Space,Str "link"] ("http://google.com","")] ("example.jpg","image")] -,Para [Image [Str "caption"] ("example.jpg","image")] -,Para [Image [Str "example.jpg"] ("example.jpg","image")] +,Para [Image [Str "caption"] ("example.jpg","fig:caption")] +,Para [Image [Str "the",Space,Emph [Str "caption"],Space,Str "with",Space,Link [Str "external",Space,Str "link"] ("http://google.com","")] ("example.jpg","fig:the caption with external link")] +,Para [Image [Str "caption"] ("example.jpg","fig:caption")] +,Para [Image [Str "example.jpg"] ("example.jpg","fig:example.jpg")] ,Header 2 ("",[],[]) [Str "lists"] ,BulletList [[Plain [Str "Start",Space,Str "each",Space,Str "line"]] |