From 75cba828b5c69299c3a4a1e33df8deae3a6c291e Mon Sep 17 00:00:00 2001 From: "paul.rivier" Date: Tue, 29 May 2012 13:41:28 +0200 Subject: Textile reader: fix for `` and `==`. Closes #517. --- tests/textile-reader.native | 4 ++++ tests/textile-reader.textile | 11 +++++++++++ 2 files changed, 15 insertions(+) (limited to 'tests') diff --git a/tests/textile-reader.native b/tests/textile-reader.native index d9fbc4672..39359d13a 100644 --- a/tests/textile-reader.native +++ b/tests/textile-reader.native @@ -27,6 +27,10 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) ,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 [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 ":"] +,Para [Str "\nNo *bold* and\n* no bullet\n"] +,Para [Str "and",Space,Str "inlines",Space,Str "can",Space,Str "be",Space,Str "protected",Space,Str "with",Space,Str "double *equals (=)* markup",Str "."] ,Header 1 [Str "Lists"] ,Header 2 [Str "Unordered"] ,Para [Str "Asterisks",Space,Str "tight",Str ":"] diff --git a/tests/textile-reader.textile b/tests/textile-reader.textile index c6450fdfb..adfec90d3 100644 --- a/tests/textile-reader.textile +++ b/tests/textile-reader.textile @@ -70,6 +70,17 @@ bc. Code block with .bc Inline code: @@, @. +h1. Notextile + +A block of text can be protected with notextile : + + +No *bold* and +* no bullet + + +and inlines can be protected with ==double *equals (=)* markup==. + h1. Lists h2. Unordered -- cgit v1.2.3