Skip to content

Anchor link case is wrong if link href differs from link title #1

@rswgnu

Description

@rswgnu
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">&para;</a></h2>

Also why does the <h2> section have an href link property to itself?  Shouldn't the id property suffice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions