-
Notifications
You must be signed in to change notification settings - Fork 2
Anchor link case is wrong if link href differs from link title #1
Copy link
Copy link
Open
Description
Given this Markdown TOC link:
**Table of Contents**
- [Programmer Quick Reference](#programmer-quick-reference)
and this section anchor:
## Programmer Quick Reference
md2html generates the following correct TOC line:
<a href="#programmer-quick-reference" title="Programmer Quick Reference">Programmer Quick Reference</a>
but an incorrect section anchor ID (case should be all lower case), causing link following to fail. Plese fix the case sensitivity:
<h2 id="Programmer-Quick-Reference">Programmer Quick Reference<a class="headerlink" href="#Programmer-Quick-Reference" title="Permanent link">¶</a></h2>
Also why does the <h2> section have an href link property to itself? Shouldn't the id property suffice?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels