aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGerry LaMontagne <gjlama94@gmail.com>2010-03-23 13:41:41 -0400
committerGerry LaMontagne <gjlama94@gmail.com>2010-03-23 13:41:41 -0400
commit3c5a355edd62efb8642b71b28cd39f7f8f2b3dc6 (patch)
tree6bbf7e962e9f8fd557e203d1afdf7ebec875e881 /tests
parentced8f58b78b02a58e20f6863085ef9c7d82182e0 (diff)
downloadmarkdown-3c5a355edd62efb8642b71b28cd39f7f8f2b3dc6.tar.gz
markdown-3c5a355edd62efb8642b71b28cd39f7f8f2b3dc6.tar.bz2
markdown-3c5a355edd62efb8642b71b28cd39f7f8f2b3dc6.zip
Blockquoted text in the first item of a list is now placed in child p tag of the
blockquote tag. Added lists8.txt and .html for test suite to test condition.
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/lists8.html39
-rw-r--r--tests/misc/lists8.txt16
2 files changed, 55 insertions, 0 deletions
diff --git a/tests/misc/lists8.html b/tests/misc/lists8.html
new file mode 100644
index 0000000..8a93a51
--- /dev/null
+++ b/tests/misc/lists8.html
@@ -0,0 +1,39 @@
+<h1>Lists with blockquotes</h1>
+<ol>
+<li>
+<blockquote>
+<p>Four-score and seven years ago...</p>
+</blockquote>
+</li>
+<li>
+<blockquote>
+<p>We have nothing to fear...</p>
+</blockquote>
+</li>
+<li>
+<blockquote>
+<p>This is it...</p>
+</blockquote>
+</li>
+</ol>
+<h1>Multi-line blockquotes</h1>
+<ul>
+<li>
+<blockquote>
+<p>Four-score and sever years ago
+our fathers brought forth</p>
+</blockquote>
+</li>
+<li>
+<blockquote>
+<p>We have nothing to fear
+but fear itself</p>
+</blockquote>
+</li>
+<li>
+<blockquote>
+<p>This is it
+as far as I'm concerned</p>
+</blockquote>
+</li>
+</ul> \ No newline at end of file
diff --git a/tests/misc/lists8.txt b/tests/misc/lists8.txt
new file mode 100644
index 0000000..8ab6767
--- /dev/null
+++ b/tests/misc/lists8.txt
@@ -0,0 +1,16 @@
+# Lists with blockquotes
+1. > Four-score and seven years ago...
+
+2. > We have nothing to fear...
+
+3. > This is it...
+
+# Multi-line blockquotes
+* > Four-score and sever years ago
+ > our fathers brought forth
+
+* > We have nothing to fear
+ > but fear itself
+
+* > This is it
+ > as far as I'm concerned