aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-09-14 23:31:55 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2012-09-14 23:31:55 -0400
commit152ddfb2329f84aba556993a0cd923602037c5ec (patch)
tree586922105161456b44ae1d398da8a6bf57a706dd
parent28d2cf9500c01e57c580be8194018aa7d6109e7a (diff)
downloadpandoc-152ddfb2329f84aba556993a0cd923602037c5ec.tar.gz
MediaWiki reader: Added test for multi-paragraph cells.
-rw-r--r--tests/mediawiki-reader.native11
-rw-r--r--tests/mediawiki-reader.wiki17
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
+
+|}
+
+
+