aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-08 00:44:46 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-08 00:44:46 -0800
commitf02080b62db7671aac090f89bb3df48637134e75 (patch)
tree0725c8c758d73f814d3545920a5c8255c10f3c06 /tests
parent200ea336418af609fb526ce47755c48e10da0183 (diff)
downloadpandoc-f02080b62db7671aac090f89bb3df48637134e75.tar.gz
Textile reader: Implemented footnotes.
Diffstat (limited to 'tests')
-rw-r--r--tests/textile-reader.native6
-rw-r--r--tests/textile-reader.textile7
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/textile-reader.native b/tests/textile-reader.native
index f2024c4d8..680b43849 100644
--- a/tests/textile-reader.native
+++ b/tests/textile-reader.native
@@ -1,4 +1,4 @@
-Pandoc (Meta {docTitle = [Str ""], docAuthors = [[Str ""]], docDate = [Str ""]})
+Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
[ Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc",Space,Str "Textile",Space,Str "Reader",Str ".",Space,Str "Part",Space,Str "of",Space,Str "it",Space,Str "comes",LineBreak,Str "from",Space,Str "John",Space,Str "Gruber",Apostrophe,Str "s",Space,Str "markdown",Space,Str "test",Space,Str "suite",Str "."]
, HorizontalRule
, Header 1 [Str "Headers"]
@@ -131,4 +131,6 @@ Pandoc (Meta {docTitle = [Str ""], docAuthors = [[Str ""]], docDate = [Str ""]})
, Para [Str "Hi",Str "\8482"]
, Para [Str "Hi",Space,Str "\8482"]
, Para [Str "\174",Space,Str "Hi",Str "\174"]
-, Para [Str "Hi",Str "\169",Str "2008",Space,Str "\169",Space,Str "2008"] ]
+, Para [Str "Hi",Str "\169",Str "2008",Space,Str "\169",Space,Str "2008"]
+, Header 1 [Str "Footnotes"]
+, Para [Str "A",Space,Str "note",Str ".",Note [Para [Str "The",Space,Str "note",LineBreak,Str "is",Space,Str "here",Str "!"]]] ]
diff --git a/tests/textile-reader.textile b/tests/textile-reader.textile
index ed3b02bfe..e2f51a4e9 100644
--- a/tests/textile-reader.textile
+++ b/tests/textile-reader.textile
@@ -190,3 +190,10 @@ Hi (TM)
(r) Hi(r)
Hi(c)2008 (C) 2008
+
+h1. Footnotes
+
+A note.[1]
+
+fn1. The note
+is here!