summaryrefslogtreecommitdiff
path: root/tests/textile-reader.native
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-02-16 18:29:12 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-02-16 18:29:12 -0800
commit5e9145bb626f9f96ef956f52ceb47ab69f8d6844 (patch)
tree608e3830eb84d9acdce1491bfeb5db7e41539e2c /tests/textile-reader.native
parent8dd00b93e2489b665aaa5503cef7d03ba8ad3a46 (diff)
Textile reader: Handle attributes on headers.
Includes `[lang]`, `(class #id)`, `{color:red}` styles.
Diffstat (limited to 'tests/textile-reader.native')
-rw-r--r--tests/textile-reader.native2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/textile-reader.native b/tests/textile-reader.native
index a97869f06..71d9774b3 100644
--- a/tests/textile-reader.native
+++ b/tests/textile-reader.native
@@ -123,7 +123,7 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
,Header 1 ("",[],[]) [Str "Images"]
,Para [Str "Textile",Space,Str "inline",Space,Str "image",Space,Str "syntax",Str ",",Space,Str "like",Space,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 ("",[],[]) [Str "Attributes"]
-,Header 2 ("",[],[]) [Str "HTML",Space,Str "and",Space,Str "CSS",Space,Str "attributes",Space,Str "are",Space,Str "ignored"]
+,Header 2 ("ident",["bar","foo"],[("style","color:red"),("lang","en")]) [Str "HTML",Space,Str "and",Space,Str "CSS",Space,Str "attributes",Space,Str "are",Space,Str "parsed",Space,Str "in",Space,Str "headers",Str "."]
,Para [Str "as",Space,Str "well",Space,Str "as",Space,Strong [Str "inline",Space,Str "attributes"],Space,Str "of",Space,Str " all kind"]
,Para [Str "and",Space,Str "paragraph",Space,Str "attributes",Str ",",Space,Str "and",Space,Str "table",Space,Str "attributes",Str "."]
,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]