Headers sharing the same anchor

When a header such as:

Header 1

is used again, it will share the same anchor with the first header. Normally linking to a section of a topic is done with topic#header-name. However, when there are 2 same headers on a topic the second will always link to the first.

A demonstration of this bug is

When using the table of contents, say, trying to see the upgrade effect of Sentry, you will be directed to Barrage’s upgrade effect instead, as it is the first header in the topic to use the name “Upgrade Effect”, this applies to any upgrade effect in the page that isn’t barrage’s.

This seems to be an issue with the component we use. Either we need to report it to them (though that thread doesn’t fill me with confidence that the person is active) or we fix it ourselves.

1 Like