aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-23 10:18:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-23 10:18:53 -0800
commit5bee388914283825491bc1256162f9744743d976 (patch)
tree0b48961dd887761099bf40125ea584a74162c9b9
parent65a015e74b326ca1bf88cf458629726a801d2fa3 (diff)
downloadpandoc-5bee388914283825491bc1256162f9744743d976.tar.gz
Updated textile tests.
-rw-r--r--tests/writer.textile15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/writer.textile b/tests/writer.textile
index a794a55a8..8abbdb848 100644
--- a/tests/writer.textile
+++ b/tests/writer.textile
@@ -55,6 +55,7 @@ bc. sub status {
print "working";
}
+
A list:
# item one
@@ -65,9 +66,11 @@ Nested block quotes:
bq. nested
+
bq. nested
+
</blockquote>
This should not be a block quote: 2 &gt; 1.
@@ -301,7 +304,8 @@ Multiple blocks with italics:
<dd><p>orange fruit</p>
bc. { orange code block }
-bq. <p>orange block quote</p>
+
+bq. <p>orange block quote</p>
</dd>
</dl>
@@ -392,10 +396,12 @@ bc. <div>
foo
</div>
+
As should this:
bc. <div>foo</div>
+
Now, nested:
<div>
@@ -426,6 +432,7 @@ Code block:
bc. <!-- Comment -->
+
Just plain comment, with trailing spaces on the line:
<!-- foo -->
@@ -434,6 +441,7 @@ Code:
bc. <hr />
+
Hr's:
<hr>
@@ -626,6 +634,7 @@ This should [not][] be a link.
bc. [not]: /url
+
Foo "bar":/url/.
Foo "biz":/url/.
@@ -653,10 +662,12 @@ An e-mail address: "nobody@nowhere.net":mailto:nobody@nowhere.net
bq. Blockquoted: "http://example.com/":http://example.com/
+
Auto-links should not occur here: @<http://example.com/>@
bc. or here: <http://example.com/>
+
<hr />
h1. Images
@@ -677,6 +688,7 @@ Here is a footnote reference,[1] and another.[2] This should _not_ be a footnote
bq. Notes can go in quotes.[4]
+
# And in list items.[5]
This paragraph should not be part of the note, as it is not indented.
@@ -691,6 +703,7 @@ Subsequent blocks are indented to show that they belong to the footnote (as with
bc. { <code> }
+
If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.