diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-12-07 18:28:36 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-12-07 18:28:36 -0800 |
commit | f917b46500377df2c5b33b9c9a7827e00650a29f (patch) | |
tree | 80b824a39dc4770358fe3fa8068289c4f69796d3 /tests | |
parent | 6ef8a363dc8d85bd05e0e93c3f6daddbec5fd63f (diff) | |
download | pandoc-f917b46500377df2c5b33b9c9a7827e00650a29f.tar.gz |
Textile reader: implemented acronyms, (tm), (r), (c).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/textile-reader.native | 8 | ||||
-rw-r--r-- | tests/textile-reader.textile | 12 |
2 files changed, 19 insertions, 1 deletions
diff --git a/tests/textile-reader.native b/tests/textile-reader.native index d657521e6..613c6ac6b 100644 --- a/tests/textile-reader.native +++ b/tests/textile-reader.native @@ -125,4 +125,10 @@ Pandoc (Meta {docTitle = [Str ""], docAuthors = [[Str ""]], docDate = [Str ""]}) , BulletList [ [ Plain [Str "this",Space,Str "<",Str "div",Str ">",Space,Str "won",Str "'",Str "t",Space,Str "produce",Space,Str "raw",Space,Str "html",Space,Str "blocks",Space,Str "<",Str "/div",Str ">"] ] , [ Plain [Str "but",Space,Str "this",Space,HtmlInline "<strong>",Space,Str "will",Space,Str "produce",Space,Str "inline",Space,Str "html",Space,HtmlInline "</strong>"] ] ] -, Para [Str "Can",Space,Str "you",Space,Str "prove",Space,Str "that",Space,Str "2",Space,Str "<",Space,Str "3",Space,Str "?"] ] +, Para [Str "Can",Space,Str "you",Space,Str "prove",Space,Str "that",Space,Str "2",Space,Str "<",Space,Str "3",Space,Str "?"] +, Header 1 [Str "Acronyms",Space,Str "and",Space,Str "marks"] +, Para [Str "PBS"] +, 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"] ] diff --git a/tests/textile-reader.textile b/tests/textile-reader.textile index 0b65e11bb..ed3b02bfe 100644 --- a/tests/textile-reader.textile +++ b/tests/textile-reader.textile @@ -178,3 +178,15 @@ Html blocks can be <div>inlined</div> as well. * but this <strong> will produce inline html </strong> Can you prove that 2 < 3 ? + +h1. Acronyms and marks + +PBS(Public Broadcasting System) + +Hi(tm) + +Hi (TM) + +(r) Hi(r) + +Hi(c)2008 (C) 2008 |