aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/header-in-lists.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-06-15 08:50:55 -0400
committerWaylan Limberg <waylan@gmail.com>2011-06-15 08:50:55 -0400
commit8a64c2970ca99f1586bc85a59898bfe7269c9128 (patch)
treecd28870f08030ce4827117fec69e9706c52f2528 /tests/misc/header-in-lists.txt
parent11124d9f8ddd547c93078dcf6380deacec7fc32f (diff)
downloadmarkdown-8a64c2970ca99f1586bc85a59898bfe7269c9128.tar.gz
markdown-8a64c2970ca99f1586bc85a59898bfe7269c9128.tar.bz2
markdown-8a64c2970ca99f1586bc85a59898bfe7269c9128.zip
Fixed #21. A header and paragraph not seperated by a blank line inside a list item are now parsed correctly. One of those crazy wierd edge cases that no one would ever test for, but is obvious once you see it.
Diffstat (limited to 'tests/misc/header-in-lists.txt')
-rw-r--r--tests/misc/header-in-lists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/misc/header-in-lists.txt b/tests/misc/header-in-lists.txt
new file mode 100644
index 0000000..b633d8a
--- /dev/null
+++ b/tests/misc/header-in-lists.txt
@@ -0,0 +1,14 @@
+Tight List:
+
+* #Header1
+Line 1-2 - not a header or paragraph!
+* #Header2
+Line 2-2 - not a header or paragraph!
+
+Loose List:
+
+* #Header1
+Line 1-2 - a paragraph
+
+* #Header2
+Line 2-2 - a paragraph