From 5f758970a5277de492728a3277bd7aae41978a1c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 22 Jul 2016 15:32:50 -0700 Subject: Textile reader: support `bc..` extended code blocks. Also, remove trailing newline in code blocks (consistently with Markdown reader). --- tests/textile-reader.native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/textile-reader.native b/tests/textile-reader.native index 2e8a6d01c..0b4b3bb22 100644 --- a/tests/textile-reader.native +++ b/tests/textile-reader.native @@ -25,7 +25,7 @@ Pandoc (Meta {unMeta = fromList []}) ,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:"] ,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{" -,CodeBlock ("",[],[]) "Code block with .bc\n continued\n @",Str ",",Space,Code ("",[],[]) "@",Str "."] ,Header 1 ("notextile",[],[]) [Str "Notextile"] ,Para [Str "A",Space,Str "block",Space,Str "of",Space,Str "text",Space,Str "can",Space,Str "be",Space,Str "protected",Space,Str "with",Space,Str "notextile",Space,Str ":"] -- cgit v1.2.3