aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-11-13 15:53:42 -0500
committerWaylan Limberg <waylan@gmail.com>2008-11-13 23:27:55 -0500
commit64f5510aeb05d8912bb9f60ad247c815c2b90990 (patch)
treeb4864359a9f63023148dd6a7c5495e8c70a1223c /tests/misc
parentb02b01dbf51c1409211703a4aa32aa6cff9164d7 (diff)
downloadmarkdown-64f5510aeb05d8912bb9f60ad247c815c2b90990.tar.gz
markdown-64f5510aeb05d8912bb9f60ad247c815c2b90990.tar.bz2
markdown-64f5510aeb05d8912bb9f60ad247c815c2b90990.zip
Fixed BlockquoteProcessor to acknowledge blocks in which the blockquote starts after the first line. Also updated coresponding test as it had an error and added more detail. All core tests pass now. On to extensions.
Diffstat (limited to 'tests/misc')
-rw-r--r--tests/misc/blockquote-below-paragraph.html8
-rw-r--r--tests/misc/blockquote-below-paragraph.txt12
2 files changed, 18 insertions, 2 deletions
diff --git a/tests/misc/blockquote-below-paragraph.html b/tests/misc/blockquote-below-paragraph.html
index c6f622e..20ffb66 100644
--- a/tests/misc/blockquote-below-paragraph.html
+++ b/tests/misc/blockquote-below-paragraph.html
@@ -2,4 +2,12 @@
<blockquote>
<p>Block quote
Yep</p>
+</blockquote>
+<p>Paragraph
+&gt;no space
+&gt;Nope</p>
+<p>Paragraph one</p>
+<blockquote>
+<p>blockquote
+More blockquote.</p>
</blockquote> \ No newline at end of file
diff --git a/tests/misc/blockquote-below-paragraph.txt b/tests/misc/blockquote-below-paragraph.txt
index 0dd4d5c..529e5a9 100644
--- a/tests/misc/blockquote-below-paragraph.txt
+++ b/tests/misc/blockquote-below-paragraph.txt
@@ -1,3 +1,11 @@
Paragraph
->Block quote
->Yep
+> Block quote
+> Yep
+
+Paragraph
+>no space
+>Nope
+
+Paragraph one
+> blockquote
+More blockquote.