diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-09-14 23:31:55 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-09-14 23:31:55 -0400 |
commit | 152ddfb2329f84aba556993a0cd923602037c5ec (patch) | |
tree | 586922105161456b44ae1d398da8a6bf57a706dd | |
parent | 28d2cf9500c01e57c580be8194018aa7d6109e7a (diff) | |
download | pandoc-152ddfb2329f84aba556993a0cd923602037c5ec.tar.gz |
MediaWiki reader: Added test for multi-paragraph cells.
-rw-r--r-- | tests/mediawiki-reader.native | 11 | ||||
-rw-r--r-- | tests/mediawiki-reader.wiki | 17 |
2 files changed, 27 insertions, 1 deletions
diff --git a/tests/mediawiki-reader.native b/tests/mediawiki-reader.native index 8b608fb17..6e19c14ce 100644 --- a/tests/mediawiki-reader.native +++ b/tests/mediawiki-reader.native @@ -190,4 +190,13 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) [[[Para [Str "Bread"]] ,[Para [Str "Pie"]]] ,[[Para [Str "Butter"]] - ,[Para [Str "Ice",Space,Str "cream"]]]]] + ,[Para [Str "Ice",Space,Str "cream"]]]] +,Table [Str "Food",Space,Str "complements"] [AlignDefault,AlignDefault] [0.0,0.0] + [[Para [Str "Orange"]] + ,[Para [Str "Apple"]]] + [[[Para [Str "Bread"] + ,Para [Str "and",Space,Str "cheese"]] + ,[Para [Str "Pie"] + ,OrderedList (1,DefaultStyle,DefaultDelim) + [[Plain [Str "apple"]] + ,[Plain [Str "carrot"]]]]]]] diff --git a/tests/mediawiki-reader.wiki b/tests/mediawiki-reader.wiki index 655c8313e..b2bfb47e8 100644 --- a/tests/mediawiki-reader.wiki +++ b/tests/mediawiki-reader.wiki @@ -307,3 +307,20 @@ Written {{{date}}} by {{{name}}}. |Ice cream |} +{| +|+Food complements +!Orange +!Apple +|- +|Bread + +and cheese +|Pie + +# apple +# carrot + +|} + + + |