aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerry LaMontagne <gjlama94@gmail.com>2010-09-02 20:12:07 -0400
committerGerry LaMontagne <gjlama94@gmail.com>2010-09-02 20:12:07 -0400
commitb15aeef1c4dbfb2f6bda88eb3c94b730074e1903 (patch)
treeae2e5a22ef5ab13f4e36bd0602970f67a4797598
parent0887ea58b0c2221c1328ad087b3bf5ee292fc402 (diff)
downloadmarkdown-b15aeef1c4dbfb2f6bda88eb3c94b730074e1903.tar.gz
markdown-b15aeef1c4dbfb2f6bda88eb3c94b730074e1903.tar.bz2
markdown-b15aeef1c4dbfb2f6bda88eb3c94b730074e1903.zip
Added test files for bug fix to ticket 62
-rw-r--r--tests/misc/block_html_attr.html27
-rw-r--r--tests/misc/block_html_attr.txt24
-rw-r--r--tests/misc/block_html_simple.html10
-rw-r--r--tests/misc/block_html_simple.txt9
4 files changed, 70 insertions, 0 deletions
diff --git a/tests/misc/block_html_attr.html b/tests/misc/block_html_attr.html
new file mode 100644
index 0000000..d1c9efc
--- /dev/null
+++ b/tests/misc/block_html_attr.html
@@ -0,0 +1,27 @@
+<blockquote>
+Raw HTML processing should not confuse this with the blockquote below
+</blockquote>
+
+<div id="current-content">
+ <div id="primarycontent" class="hfeed">
+ <div id="post-">
+ <div class="page-head">
+ <h2>Header2</h2>
+ </div>
+ <div class="entry-content">
+ <h3>Header3</h3>
+ <p>Paragraph</p>
+ <h3>Header3</h3>
+ <p>Paragraph</p>
+ <blockquote>
+ <p>Paragraph</p>
+ </blockquote>
+ <p>Paragraph</p>
+ <p><a href="/somelink">linktext</a></p>
+ </div>
+ </div><!-- #post-ID -->
+ <!-- add contact form here -->
+ </div><!-- #primarycontent -->
+</div>
+
+<!-- #current-content --> \ No newline at end of file
diff --git a/tests/misc/block_html_attr.txt b/tests/misc/block_html_attr.txt
new file mode 100644
index 0000000..b2603cc
--- /dev/null
+++ b/tests/misc/block_html_attr.txt
@@ -0,0 +1,24 @@
+<blockquote>
+Raw HTML processing should not confuse this with the blockquote below
+</blockquote>
+<div id="current-content">
+ <div id="primarycontent" class="hfeed">
+ <div id="post-">
+ <div class="page-head">
+ <h2>Header2</h2>
+ </div>
+ <div class="entry-content">
+ <h3>Header3</h3>
+ <p>Paragraph</p>
+ <h3>Header3</h3>
+ <p>Paragraph</p>
+ <blockquote>
+ <p>Paragraph</p>
+ </blockquote>
+ <p>Paragraph</p>
+ <p><a href="/somelink">linktext</a></p>
+ </div>
+ </div><!-- #post-ID -->
+ <!-- add contact form here -->
+ </div><!-- #primarycontent -->
+</div><!-- #current-content -->
diff --git a/tests/misc/block_html_simple.html b/tests/misc/block_html_simple.html
new file mode 100644
index 0000000..dce68bc
--- /dev/null
+++ b/tests/misc/block_html_simple.html
@@ -0,0 +1,10 @@
+<p>foo</p>
+
+<ul>
+<li>
+<p>bar</p>
+</li>
+<li>
+<p>baz</p>
+</li>
+</ul> \ No newline at end of file
diff --git a/tests/misc/block_html_simple.txt b/tests/misc/block_html_simple.txt
new file mode 100644
index 0000000..d108c50
--- /dev/null
+++ b/tests/misc/block_html_simple.txt
@@ -0,0 +1,9 @@
+<p>foo</p>
+<ul>
+<li>
+<p>bar</p>
+</li>
+<li>
+<p>baz</p>
+</li>
+</ul>