diff options
author | Waylan Limberg <waylan@gmail.com> | 2009-12-26 22:32:01 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2009-12-26 22:32:01 -0500 |
commit | 6b1a159bc6fa5ffa6eb311d61f40595af5c19650 (patch) | |
tree | e811d3afd98d1bb748bb96245dd52ad7d5234cd8 /tests/extensions-x-toc | |
parent | 3a89552f92584bae149fb08531a42e414736a6f2 (diff) | |
download | markdown-6b1a159bc6fa5ffa6eb311d61f40595af5c19650.tar.gz markdown-6b1a159bc6fa5ffa6eb311d61f40595af5c19650.tar.bz2 markdown-6b1a159bc6fa5ffa6eb311d61f40595af5c19650.zip |
Added a test for previous comit from Steve Losh. Thanks Steve. Ticket 45 is fixed.
Diffstat (limited to 'tests/extensions-x-toc')
-rw-r--r-- | tests/extensions-x-toc/nested2.html | 14 | ||||
-rw-r--r-- | tests/extensions-x-toc/nested2.txt | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/extensions-x-toc/nested2.html b/tests/extensions-x-toc/nested2.html new file mode 100644 index 0000000..bf87716 --- /dev/null +++ b/tests/extensions-x-toc/nested2.html @@ -0,0 +1,14 @@ +<div class="toc"> +<ul> +<li><a href="#start-with-header-other-than-one">Start with header other than one.</a></li> +<li><a href="#header-3">Header 3</a><ul> +<li><a href="#header-4">Header 4</a></li> +</ul> +</li> +<li><a href="#header-3_1">Header 3</a></li> +</ul> +</div> +<h3 id="start-with-header-other-than-one">Start with header other than one.</h3> +<h3 id="header-3">Header 3</h3> +<h4 id="header-4">Header 4</h4> +<h3 id="header-3_1">Header 3</h3>
\ No newline at end of file diff --git a/tests/extensions-x-toc/nested2.txt b/tests/extensions-x-toc/nested2.txt new file mode 100644 index 0000000..9db4d8c --- /dev/null +++ b/tests/extensions-x-toc/nested2.txt @@ -0,0 +1,10 @@ +[TOC] + +### Start with header other than one. + +### Header 3 + +#### Header 4 + +### Header 3 + |