git.iko.soy/typeable/pandoc
on master help sign in
MediaWiki reader: Added test case for templates in list item.
64b0378John MacFarlane
tests/mediawiki-reader.native+1−1
@@ -140,7 +140,7 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
140 ,[Plain [Str "this",Space,Str "looks",Space,Str "like",Space,Str "a",Space,Str "continuation"]]
140 ,[Plain [Str "this",Space,Str "looks",Space,Str "like",Space,Str "a",Space,Str "continuation"]]
141 ,[Plain [Str "and",Space,Str "is",Space,Str "often",Space,Str "used"]]
141 ,[Plain [Str "and",Space,Str "is",Space,Str "often",Space,Str "used"]]
142 ,[Plain [Str "instead",LineBreak,Str "of",Space,Str "<br/>"]]])]]
142 ,[Plain [Str "instead",LineBreak,Str "of",Space,Str "<br/>"]]])]]
143− ,[Plain [Str "five"]
143+ ,[Plain [RawInline "mediawiki" "{{{template\n|author=John\n|title=My Book\n}}}"]
144 ,OrderedList (1,DefaultStyle,DefaultDelim)
144 ,OrderedList (1,DefaultStyle,DefaultDelim)
145 [[Plain [Str "five",Space,Str "sub",Space,Str "1"]
145 [[Plain [Str "five",Space,Str "sub",Space,Str "1"]
146 ,OrderedList (1,DefaultStyle,DefaultDelim)
146 ,OrderedList (1,DefaultStyle,DefaultDelim)
tests/mediawiki-reader.wiki+4−1
@@ -214,7 +214,10 @@ ends the list.
214#: this looks like a continuation
214#: this looks like a continuation
215#: and is often used
215#: and is often used
216#: instead<br/>of <nowiki><br/></nowiki>
216#: instead<br/>of <nowiki><br/></nowiki>
217−# five
217+# {{{template
218+|author=John
219+|title=My Book
220+}}}
218## five sub 1
221## five sub 1
219### five sub 1 sub 1
222### five sub 1 sub 1
220## five sub 2
223## five sub 2