diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-11-18 12:46:35 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-11-18 12:46:35 -0500 |
commit | 41ebca604f081d1bb798d3178f674e960a2e4ec1 (patch) | |
tree | 7429df8ec85ddbea1707ebdf807c8ff614c43598 /tests/markdown-test/codeblock-in-list.html | |
parent | 60ef37b47b99fc51683a51640ba98f2d5a25a427 (diff) | |
download | markdown-41ebca604f081d1bb798d3178f674e960a2e4ec1.tar.gz markdown-41ebca604f081d1bb798d3178f674e960a2e4ec1.tar.bz2 markdown-41ebca604f081d1bb798d3178f674e960a2e4ec1.zip |
Fixed BlockParser to parse code blocks nested in list items and added a test. Somehow we never had a test for that before. Also reset markdown.py to be executable again.
Diffstat (limited to 'tests/markdown-test/codeblock-in-list.html')
-rw-r--r-- | tests/markdown-test/codeblock-in-list.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/markdown-test/codeblock-in-list.html b/tests/markdown-test/codeblock-in-list.html new file mode 100644 index 0000000..49edd56 --- /dev/null +++ b/tests/markdown-test/codeblock-in-list.html @@ -0,0 +1,14 @@ +<ul> +<li> +<p>A list item with a code block</p> +<pre><code>Some *code* +</code></pre> +</li> +<li> +<p>Another list item</p> +<pre><code>More code + +And more code +</code></pre> +</li> +</ul>
\ No newline at end of file |