tests/extensions/toc_invalid.html
raw| 1 | <h2 id="toc">[TOC]</h2> |
| 2 | <h1 id="header-1">Header 1</h1> |
| 3 | <p>The TOC marker cannot be inside a header. This test makes sure markdown doesn't |
| 4 | crash when it encounters this errant syntax. The unexpected output should |
| 5 | clue the author in that s/he needs to add a blank line between the TOC and |
| 6 | the <code><hr></code>.</p> |