diff options
author | Waylan Limberg <waylan@gmail.com> | 2009-05-30 22:31:55 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2009-06-05 22:25:51 -0400 |
commit | 8b430d251b2518fa3303d7027f50268e0254b7a1 (patch) | |
tree | c9265f6ce7024d400b6c8bb58c26bda6a97f86d5 /markdown/tests/extensions-x-toc/invalid.html | |
parent | cc452998dc1af441cf3f9c5d0c7287cb5de48c4a (diff) | |
download | markdown-8b430d251b2518fa3303d7027f50268e0254b7a1.tar.gz markdown-8b430d251b2518fa3303d7027f50268e0254b7a1.tar.bz2 markdown-8b430d251b2518fa3303d7027f50268e0254b7a1.zip |
Moves tests to a subdir of the markdown lib.
Diffstat (limited to 'markdown/tests/extensions-x-toc/invalid.html')
-rw-r--r-- | markdown/tests/extensions-x-toc/invalid.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/markdown/tests/extensions-x-toc/invalid.html b/markdown/tests/extensions-x-toc/invalid.html new file mode 100644 index 0000000..41a3b1f --- /dev/null +++ b/markdown/tests/extensions-x-toc/invalid.html @@ -0,0 +1,6 @@ +<h2 id="toc">[TOC]</h2> +<h1 id="header-1">Header 1</h1> +<p>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 <code><hr></code>.</p>
\ No newline at end of file |