Added test for extended code block in textile.

Closes #3037.
This commit is contained in:
John MacFarlane 2016-07-22 15:39:23 -07:00
parent 5f758970a5
commit 266caf70e5
2 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,8 @@ Pandoc (Meta {unMeta = fromList []})
,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 @</\\"
,CodeBlock ("",[],[]) "extended code block\n\n continued"
,Para [Str "ended",Space,Str "by",Space,Str "paragraph"]
,Para [Str "Inline",Space,Str "code:",Space,Code ("",[],[]) "<tt>",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 ":"]

View file

@ -68,6 +68,11 @@ bc. Code block with .bc
continued
@</\
bc.. extended code block
continued
p. ended by paragraph
Inline code: @<tt>@, <tt>@</tt>.
h1. Notextile