From 41ebca604f081d1bb798d3178f674e960a2e4ec1 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 18 Nov 2008 12:46:35 -0500 Subject: 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. --- tests/markdown-test/codeblock-in-list.html | 14 ++++++++++++++ tests/markdown-test/codeblock-in-list.txt | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/markdown-test/codeblock-in-list.html create mode 100644 tests/markdown-test/codeblock-in-list.txt (limited to 'tests/markdown-test') 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 @@ + \ No newline at end of file diff --git a/tests/markdown-test/codeblock-in-list.txt b/tests/markdown-test/codeblock-in-list.txt new file mode 100644 index 0000000..87d4e3b --- /dev/null +++ b/tests/markdown-test/codeblock-in-list.txt @@ -0,0 +1,10 @@ +* A list item with a code block + + Some *code* + +* Another list item + + More code + + And more code + -- cgit v1.2.3