summaryrefslogtreecommitdiff
path: root/tests/rst-reader.native
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-23 01:35:03 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-23 01:35:03 +0000
commit6a6b1a5842e6218168bca1bf6f04c8d395b60441 (patch)
treefee9968cdfba18ad68ff879fbca164c3b1e0cd88 /tests/rst-reader.native
parentf69d9efc8323b202dc0f333036da1c38a2fd270a (diff)
Added support for definition lists to RST reader.
Added a relevant test to the test suite. git-svn-id: https://pandoc.googlecode.com/svn/trunk@782 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/rst-reader.native')
-rw-r--r--tests/rst-reader.native11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rst-reader.native b/tests/rst-reader.native
index 6c01dc246..b783145fb 100644
--- a/tests/rst-reader.native
+++ b/tests/rst-reader.native
@@ -117,6 +117,17 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ":",Space,Str
[ [ Plain [Str "Fee"] ]
, [ Plain [Str "Fie"] ]
, [ Plain [Str "Foe"] ] ] ] ], [ Para [Str "Third"] ] ]
+, Header 2 [Str "Definition"]
+, DefinitionList
+ [ ([Str "term",Space,Str "1"],
+ [ Para [Str "Definition",Space,Str "1."] ]
+ ),
+ ([Str "term",Space,Str "2"],
+ [ Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "1."]
+ , Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "2."] ] ),
+ ([Str "term",Space,Str "with",Space,Emph [Str "emphasis"]],
+ [ Para [Str "Definition",Space,Str "3."] ]
+ ) ]
, Header 1 [Str "HTML",Space,Str "Blocks"]
, Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line",Str ":"]
, RawHtml "<div>foo</div>\n"