Add a test for manually written header tags

This commit is contained in:
Eric Huss 2025-10-30 11:40:46 -07:00
parent ab8a4dfa5a
commit 07ed00e8f7
2 changed files with 11 additions and 1 deletions

View file

@ -62,4 +62,8 @@ const x = 'some *text* inside';
</style>
<style media="(width &lt; 500px)">
.bar { background-color: green }
</style>
</style>
<h2 id="manual-headers"><a class="header" href="#manual-headers">Manual headers</a></h2>
<h2 id="my header"><a class="header" href="#my header"><a href="#foo">My Header</a></a></h2>
<h3 id="another-header"><a class="header" href="#another-header">Another header</a></h3>

View file

@ -92,3 +92,9 @@ const x = 'some *text* inside';
<style media="(width < 500px)">
.bar { background-color: green }
</style>
## Manual headers
<h2 id="my header"><a href="#foo">My Header</a></h2>
<h3>Another header</h3>