Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Duplicate IDs #7

Open
orviwan opened this issue Jul 12, 2017 · 0 comments
Open

Duplicate IDs #7

orviwan opened this issue Jul 12, 2017 · 0 comments

Comments

@orviwan
Copy link

orviwan commented Jul 12, 2017

I'm having an issue on my site where duplicate IDs are created when there are two headings with the same inner text.

<h2 id="first">First</h2>
<h3 id="overview">Overview</h3>
<h2 id="second">Second</h2>
<h3 id="overview">Overview</h3>

Would you consider adding something to make these unique? Perhaps like appending an index number.

<h2 id="first">First</h2>
<h3 id="overview">Overview</h3>
<h2 id="second">Second</h2>
<h3 id="overview2">Overview</h3>

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant