aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc
diff options
context:
space:
mode:
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.