aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/lists7.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-03-19 13:00:35 -0400
committerWaylan Limberg <waylan@gmail.com>2010-03-19 13:00:35 -0400
commit9a31684b9a683fe9b0d2871649b379fadfb60ade (patch)
treed8248f52a865f7780e8aa8fcc85a8540abe336ce /tests/misc/lists7.html
parentb77a023de142abdd5e7d88a28fb72352708ab3d5 (diff)
downloadmarkdown-9a31684b9a683fe9b0d2871649b379fadfb60ade.tar.gz
markdown-9a31684b9a683fe9b0d2871649b379fadfb60ade.tar.bz2
markdown-9a31684b9a683fe9b0d2871649b379fadfb60ade.zip
Fixed Ticket 57. Lists where the first line of an item is a nested item, now observe rules for using p tags. Thanks to Gerry LaMontagne for the patch.
Diffstat (limited to 'tests/misc/lists7.html')
-rw-r--r--tests/misc/lists7.html98
1 files changed, 98 insertions, 0 deletions
diff --git a/tests/misc/lists7.html b/tests/misc/lists7.html
new file mode 100644
index 0000000..81c1daa
--- /dev/null
+++ b/tests/misc/lists7.html
@@ -0,0 +1,98 @@
+<ul>
+<li>item 1</li>
+<li>
+<ul>
+<li>item 2-1</li>
+<li>item 2-2</li>
+<li>item 2-3</li>
+<li>item 2-4</li>
+</ul>
+</li>
+<li>item 3</li>
+<li>
+<ul>
+<li>
+<p>item 4-1</p>
+</li>
+<li>
+<p>item 4-2</p>
+</li>
+<li>
+<p>item 4-3</p>
+</li>
+<li>
+<p>item 4-4</p>
+</li>
+</ul>
+</li>
+</ul>
+<h2>same as above, different spacing</h2>
+<ul>
+<li>item 1</li>
+<li>
+<ul>
+<li>item 2-1</li>
+<li>item 2-2</li>
+</ul>
+</li>
+<li>item 3</li>
+<li>
+<ul>
+<li>
+<p>item 4-1</p>
+</li>
+<li>
+<p>item 4-2</p>
+</li>
+</ul>
+</li>
+</ul>
+<h2>only 1 item in nested list ##</h2>
+<ul>
+<li>item 1</li>
+<li>
+<ul>
+<li>item 2-1</li>
+</ul>
+</li>
+<li>item 3</li>
+<li>
+<ul>
+<li>item 4-1</li>
+</ul>
+</li>
+</ul>
+<h2>Something ludicrous ##</h2>
+<ul>
+<li>item 1</li>
+<li>
+<ul>
+<li>item 2-1</li>
+<li>item 2-2</li>
+<li>
+<ul>
+<li>item 2-2-1</li>
+<li>item 2-2-2</li>
+</ul>
+</li>
+<li>item 2-3</li>
+</ul>
+</li>
+<li>item 3</li>
+<li>
+<ul>
+<li>
+<p>item 4-1</p>
+</li>
+<li>
+<ul>
+<li>item 4-1-1</li>
+<li>item 4-1-2</li>
+</ul>
+</li>
+<li>
+<p>item 4-2</p>
+</li>
+</ul>
+</li>
+</ul> \ No newline at end of file