diff options
author | Waylan Limberg <waylan@gmail.com> | 2011-06-15 08:50:55 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2011-06-15 08:50:55 -0400 |
commit | 8a64c2970ca99f1586bc85a59898bfe7269c9128 (patch) | |
tree | cd28870f08030ce4827117fec69e9706c52f2528 /tests/misc/header-in-lists.html | |
parent | 11124d9f8ddd547c93078dcf6380deacec7fc32f (diff) | |
download | markdown-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.html')
-rw-r--r-- | tests/misc/header-in-lists.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/misc/header-in-lists.html b/tests/misc/header-in-lists.html new file mode 100644 index 0000000..61a6d97 --- /dev/null +++ b/tests/misc/header-in-lists.html @@ -0,0 +1,20 @@ +<p>Tight List:</p> +<ul> +<li> +<h1>Header1</h1> +Line 1-2 - not a header or paragraph!</li> +<li> +<h1>Header2</h1> +Line 2-2 - not a header or paragraph!</li> +</ul> +<p>Loose List:</p> +<ul> +<li> +<h1>Header1</h1> +<p>Line 1-2 - a paragraph</p> +</li> +<li> +<h1>Header2</h1> +<p>Line 2-2 - a paragraph</p> +</li> +</ul>
\ No newline at end of file |