From 28caf01c8082dbed3a5ca87b070ffe5657514f01 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 12 Feb 2010 16:24:15 -0500 Subject: Moved test dir back out of markdown lib. We don't need to install the tests in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc. --- tests/extensions/toc_invalid.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/extensions/toc_invalid.html (limited to 'tests/extensions/toc_invalid.html') diff --git a/tests/extensions/toc_invalid.html b/tests/extensions/toc_invalid.html new file mode 100644 index 0000000..41a3b1f --- /dev/null +++ b/tests/extensions/toc_invalid.html @@ -0,0 +1,6 @@ +

[TOC]

+

Header 1

+

The TOC marker cannot be inside a header. This test makes sure markdown doesn't +crash when it encounters this errant syntax. The unexpected output should +clue the author in that s/he needs to add a blank line between the TOC and +the <hr>.

\ No newline at end of file -- cgit v1.2.3