github-markdown-toc icon indicating copy to clipboard operation
github-markdown-toc copied to clipboard

Fix: If opening <h[1-6]> is at the end of a line, merge it with the next line

Open VolkerChristian opened this issue 10 months ago • 0 comments

Sometimes the opening <h[1-6]> is at the end of line e.g.

<h1 class="heading-element">  
<code>foo1</code></h1>

This shall became

<h1 class="heading-element"><code>foo1</code></h1>

This commit fixes this issue.

VolkerChristian avatar Mar 25 '24 14:03 VolkerChristian