aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-03-03 01:49:59 +0000
committerWaylan Limberg <waylan@gmail.com>2008-03-03 01:49:59 +0000
commit7e0b40c87dd4d8faf4be4b8ba13aa79959f4a547 (patch)
treeb6b5ea04f21943e5bc9e26b3a426b9f1e2160e0c /tests/misc
parent34c680a61d0bd83d6b21596e9a086e7db73706e1 (diff)
downloadmarkdown-7e0b40c87dd4d8faf4be4b8ba13aa79959f4a547.tar.gz
markdown-7e0b40c87dd4d8faf4be4b8ba13aa79959f4a547.tar.bz2
markdown-7e0b40c87dd4d8faf4be4b8ba13aa79959f4a547.zip
Some tests I forgot to checking with recent commits.
Diffstat (limited to 'tests/misc')
-rw-r--r--tests/misc/blockquote.html22
-rw-r--r--tests/misc/blockquote.txt21
2 files changed, 43 insertions, 0 deletions
diff --git a/tests/misc/blockquote.html b/tests/misc/blockquote.html
new file mode 100644
index 0000000..ec16d1f
--- /dev/null
+++ b/tests/misc/blockquote.html
@@ -0,0 +1,22 @@
+<blockquote><p>blockquote with no whitespace before <code>&gt;</code>.
+</p>
+</blockquote><p>foo
+</p>
+<blockquote><p>blockquote with one space before the <code>&gt;</code>.
+</p>
+</blockquote><p>bar
+</p>
+<blockquote><p>blockquote with 2 spaces.
+</p>
+</blockquote><p>baz
+</p>
+<p> &gt; this has three spaces so its a paragraph.
+</p>
+<p>blah
+</p>
+<pre><code>&gt; this one had four so it's a code block.
+</code></pre><blockquote><blockquote><p>this nested blockquote has 0 on level one and 3 (one after the first <code>&gt;</code> + 2 more) on level 2.
+</p>
+</blockquote><p> &gt; and this has 4 on level 2 - another code block.
+</p>
+</blockquote> \ No newline at end of file
diff --git a/tests/misc/blockquote.txt b/tests/misc/blockquote.txt
new file mode 100644
index 0000000..be3ff90
--- /dev/null
+++ b/tests/misc/blockquote.txt
@@ -0,0 +1,21 @@
+> blockquote with no whitespace before `>`.
+
+foo
+
+ > blockquote with one space before the `>`.
+
+bar
+
+ > blockquote with 2 spaces.
+
+baz
+
+ > this has three spaces so its a paragraph.
+
+blah
+
+ > this one had four so it's a code block.
+
+> > this nested blockquote has 0 on level one and 3 (one after the first `>` + 2 more) on level 2.
+
+> > and this has 4 on level 2 - another code block.