aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-08-22 13:52:04 -0400
committerWaylan Limberg <waylan@gmail.com>2008-08-22 13:52:04 -0400
commitf6da83640fefb0583ad956668a7b79e9d8143226 (patch)
tree158c34a7535a7c32d71f8f80552fbd7b8da6e09b /tests
parentd0271ccb1c69c85eff48634710b4cc1cd528cf91 (diff)
downloadmarkdown-f6da83640fefb0583ad956668a7b79e9d8143226.tar.gz
markdown-f6da83640fefb0583ad956668a7b79e9d8143226.tar.bz2
markdown-f6da83640fefb0583ad956668a7b79e9d8143226.zip
Updated tests with raw block level html in them. **Note** these tests do not pass now - but they should! We need to fix the bug which the tests were previosuly hiding!
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/html.html7
-rw-r--r--tests/misc/html.txt5
-rw-r--r--tests/misc/markup-inside-p.html18
3 files changed, 17 insertions, 13 deletions
diff --git a/tests/misc/html.html b/tests/misc/html.html
index 81b8b62..2f27a3e 100644
--- a/tests/misc/html.html
+++ b/tests/misc/html.html
@@ -1,8 +1,9 @@
-<p><h1>Block level html</h1></p>
+<h1>Block level html</h1>
<p>Some inline <b>stuff<b>.<br />
</p>
<p>Now some <arbitrary>arbitrary tags</arbitrary>.</p>
+<div>More block level html.</div>
<p>And of course <script>blah</script>.</p>
<p>
-<a href="script&gt;stuff&lt;/script">this <script>link</a>
-</p> \ No newline at end of file
+ <a href="script&gt;stuff&lt;/script">this <script>link</a>
+</p>
diff --git a/tests/misc/html.txt b/tests/misc/html.txt
index 5ce7bb2..3ac3ae0 100644
--- a/tests/misc/html.txt
+++ b/tests/misc/html.txt
@@ -5,6 +5,9 @@ Some inline <b>stuff<b>.
Now some <arbitrary>arbitrary tags</arbitrary>.
+<div>More block level html.</div>
+
And of course <script>blah</script>.
-[this <script>link](<script>stuff</script>) \ No newline at end of file
+[this <script>link](<script>stuff</script>)
+
diff --git a/tests/misc/markup-inside-p.html b/tests/misc/markup-inside-p.html
index c0478fb..28592bc 100644
--- a/tests/misc/markup-inside-p.html
+++ b/tests/misc/markup-inside-p.html
@@ -1,17 +1,17 @@
-<p><p>
+<p>
_foo_
-</p></p>
-<p><p>
+</p>
+<p>
_foo_
-</p></p>
-<p><p>_foo_</p></p>
-<p><p>
+</p>
+<p>_foo_</p>
+<p>
_foo_
-</p></p>
-<p><p>
+</p>
+<p>
_foo_
-</p></p> \ No newline at end of file
+</p>