aboutsummaryrefslogtreecommitdiff
path: root/test/textile-reader.native
diff options
context:
space:
mode:
Diffstat (limited to 'test/textile-reader.native')
-rw-r--r--test/textile-reader.native132
1 files changed, 93 insertions, 39 deletions
diff --git a/test/textile-reader.native b/test/textile-reader.native
index 16b5a87e8..2f2f58818 100644
--- a/test/textile-reader.native
+++ b/test/textile-reader.native
@@ -103,37 +103,77 @@ Pandoc (Meta {unMeta = fromList []})
,Header 1 ("tables",[],[]) [Str "Tables"]
,Para [Str "Textile",Space,Str "allows",Space,Str "tables",Space,Str "with",Space,Str "and",Space,Str "without",Space,Str "headers",Space,Str ":"]
,Header 2 ("without-headers",[],[]) [Str "Without",Space,Str "headers"]
-,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
- [[]
- ,[]
- ,[]]
- [[[Plain [Str "name"]]
- ,[Plain [Str "age"]]
- ,[Plain [Str "sex"]]]
- ,[[Plain [Str "joan"]]
- ,[Plain [Str "24"]]
- ,[Plain [Str "f"]]]
- ,[[Plain [Str "archie"]]
- ,[Plain [Str "29"]]
- ,[Plain [Str "m"]]]
- ,[[Plain [Str "bella"]]
- ,[Plain [Str "45"]]
- ,[Plain [Str "f"]]]]
+,Table ("",[],[]) (Caption Nothing
+ []) [(AlignDefault,Nothing),(AlignDefault,Nothing),(AlignDefault,Nothing)] 0
+ [Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ []
+ ,Cell ("",[],[]) Nothing 1 1
+ []
+ ,Cell ("",[],[]) Nothing 1 1
+ []]]
+ [Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "name"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "age"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "sex"]]]
+ ,Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "joan"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "24"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "f"]]]
+ ,Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "archie"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "29"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "m"]]]
+ ,Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "bella"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "45"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "f"]]]]
+ []
,Para [Str "and",Space,Str "some",Space,Str "text",Space,Str "following",Space,Str "\8230"]
,Header 2 ("with-headers",[],[]) [Str "With",Space,Str "headers"]
-,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
- [[Plain [Str "name"]]
- ,[Plain [Str "age"]]
- ,[Plain [Str "sex"]]]
- [[[Plain [Str "joan"]]
- ,[Plain [Str "24"]]
- ,[Plain [Str "f"]]]
- ,[[Plain [Str "archie"]]
- ,[Plain [Str "29"]]
- ,[Plain [Str "m"]]]
- ,[[Plain [Str "bella"]]
- ,[Plain [Str "45"]]
- ,[Plain [Str "f"]]]]
+,Table ("",[],[]) (Caption Nothing
+ []) [(AlignDefault,Nothing),(AlignDefault,Nothing),(AlignDefault,Nothing)] 0
+ [Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "name"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "age"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "sex"]]]]
+ [Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "joan"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "24"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "f"]]]
+ ,Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "archie"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "29"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "m"]]]
+ ,Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "bella"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "45"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "f"]]]]
+ []
,Header 1 ("images",[],[]) [Str "Images"]
,Para [Str "Textile",Space,Str "inline",Space,Str "image",Space,Str "syntax,",Space,Str "like",LineBreak,Str "here",Space,Image ("",[],[]) [Str "this is the alt text"] ("this_is_an_image.png","this is the alt text"),LineBreak,Str "and",Space,Str "here",Space,Image ("",[],[]) [Str ""] ("this_is_an_image.png",""),Str "."]
,Header 1 ("attributes",[],[]) [Str "Attributes"]
@@ -143,16 +183,30 @@ Pandoc (Meta {unMeta = fromList []})
,Header 2 ("justified",[],[("lang","en"),("style","color:blue;text-align:justify;")]) [Str "Justified"]
,Para [Str "as",Space,Str "well",Space,Str "as",Space,Strong [Span ("",["foo"],[]) [Str "inline",Space,Str "attributes"]],Space,Str "of",Space,Span ("",[],[("style","color:red;")]) [Str "all",Space,Str "kind"]]
,Para [Str "and",Space,Str "paragraph",Space,Str "attributes,",Space,Str "and",Space,Str "table",Space,Str "attributes."]
-,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
- [[]
- ,[]
- ,[]]
- [[[Plain [Str "name"]]
- ,[Plain [Str "age"]]
- ,[Plain [Str "sex"]]]
- ,[[Plain [Str "joan"]]
- ,[Plain [Str "24"]]
- ,[Plain [Str "f"]]]]
+,Table ("",[],[]) (Caption Nothing
+ []) [(AlignDefault,Nothing),(AlignDefault,Nothing),(AlignDefault,Nothing)] 0
+ [Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ []
+ ,Cell ("",[],[]) Nothing 1 1
+ []
+ ,Cell ("",[],[]) Nothing 1 1
+ []]]
+ [Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "name"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "age"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "sex"]]]
+ ,Row ("",[],[])
+ [Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "joan"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "24"]]
+ ,Cell ("",[],[]) Nothing 1 1
+ [Plain [Str "f"]]]]
+ []
,Para [Emph [Str "(class#id)",Space,Str "emph"]]
,Para [Emph [Str "(no",Space,Str "class#id)",Space,Str "emph"]]
,Header 1 ("entities",[],[]) [Str "Entities"]