aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/lists7.txt
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.txt
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.txt')
-rw-r--r--tests/misc/lists7.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/misc/lists7.txt b/tests/misc/lists7.txt
new file mode 100644
index 0000000..77181c8
--- /dev/null
+++ b/tests/misc/lists7.txt
@@ -0,0 +1,44 @@
+* item 1
+* * item 2-1
+ * item 2-2
+ * item 2-3
+ * item 2-4
+* item 3
+* * item 4-1
+
+ * item 4-2
+
+ * item 4-3
+
+ * item 4-4
+
+## same as above, different spacing
+* item 1
+* * item 2-1
+ * item 2-2
+* item 3
+* * item 4-1
+
+ * item 4-2
+
+## only 1 item in nested list ##
+* item 1
+* * item 2-1
+* item 3
+* * item 4-1
+
+## Something ludicrous ##
+* item 1
+* * item 2-1
+ * item 2-2
+ * * item 2-2-1
+ * item 2-2-2
+ * item 2-3
+* item 3
+* * item 4-1
+
+ * * item 4-1-1
+ * item 4-1-2
+
+ * item 4-2
+