summaryrefslogtreecommitdiff
path: root/tests/textile-reader.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-03 22:42:18 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-03 23:10:52 -0800
commit0356ad4de6f19b3804b8a635e8ce8a5582ac2c5c (patch)
tree33fcd0b07aefc3c560212e77b005d77ae6870c91 /tests/textile-reader.native
parent36d4aa4a0998f35d4b7a9deab92a1f661d50dd9a (diff)
Textile reader: drop leading, trailing newline in pre block.
This is consistent with how the other readers work.
Diffstat (limited to 'tests/textile-reader.native')
-rw-r--r--tests/textile-reader.native4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/textile-reader.native b/tests/textile-reader.native
index 999521942..130866a37 100644
--- a/tests/textile-reader.native
+++ b/tests/textile-reader.native
@@ -23,9 +23,9 @@ Pandoc (Meta {docTitle = [Str ""], docAuthors = [[Str ""]], docDate = [Str ""]})
, Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph",Str "."]
, Header 1 [Str "Code",Space,Str "Blocks"]
, Para [Str "Code",Str ":"]
-, CodeBlock ("",[],[]) "\n ---- (should be four hyphens)\n\n sub status {\n print \"working\";\n }\n\n this code block is indented by one tab\n"
+, CodeBlock ("",[],[]) " ---- (should be four hyphens)\n\n sub status {\n print \"working\";\n }\n\n this code block is indented by one tab"
, Para [Str "And",Str ":"]
-, CodeBlock ("",[],[]) "\n this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{\n"
+, CodeBlock ("",[],[]) " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{"
, Header 1 [Str "Lists"]
, Header 2 [Str "Unordered"]
, Para [Str "Asterisks",Space,Str "tight",Str ":"]