From b20ecbedc4e09a40aa42fe4e505c0cd097f23ee7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 23 Nov 2015 21:29:21 -0800 Subject: AsciiDoc writer: Fixed code blocks. Closes #1861. --- tests/writer.asciidoc | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'tests') diff --git a/tests/writer.asciidoc b/tests/writer.asciidoc index 83869df39..8d0973675 100644 --- a/tests/writer.asciidoc +++ b/tests/writer.asciidoc @@ -80,11 +80,11 @@ ______________________ -- Code in a block quote: --------------------- +.... sub status { print "working"; } --------------------- +.... A list: @@ -116,7 +116,7 @@ Code Blocks Code: --------------------------------------- +.... ---- (should be four hyphens) sub status { @@ -124,15 +124,15 @@ sub status { } this code block is indented by one tab --------------------------------------- +.... And: --------------------------------------------- +.... this code block is indented by two tabs These should not be escaped: \$ \\ \> \[ \{ --------------------------------------------- +.... ''''' @@ -325,9 +325,9 @@ _apple_:: _orange_:: orange fruit + ---------------------- +.... { orange code block } ---------------------- +.... + __________________ orange block quote @@ -393,17 +393,17 @@ foo This should be a code block, though: -------- +....
foo
-------- +.... As should this: --------------- +....
foo
--------------- +.... Now, nested: @@ -415,17 +415,17 @@ Multiline: Code block: ----------------- +.... ----------------- +.... Just plain comment, with trailing spaces on the line: Code: ------- +....
------- +.... Hr’s: @@ -616,9 +616,9 @@ Indented link:/url[thrice]. This should [not][] be a link. ------------ +.... [not]: /url ------------ +.... Foo link:/url/[bar]. @@ -654,9 +654,9 @@ ________________________________ Auto-links should not occur here: `` ------------------------------- +.... or here: ------------------------------- +.... ''''' -- cgit v1.2.3