Steps to Reproduce
- Visit https://en.m.wikipedia.org/wiki/Ulaanbaatar#Names_and_etymology
- Click Names and etymology
Expected Results
- Taken to "Names and etymology" section
Actual Results
- Taken to link in table of contents
Environments Observed
- Chrome
Testing Environment for QA
beta cluster
Browser Version
OS Version
Device Model
Device Language
Developer notes
Inspecting the table of contents HTML the toc item is rendered like so:
<li> <a href="#Names_and_etymology"><span id="Names_and_etymology"></span>Names and etymology</a> <ul> </ul> </li>
Expected - the span id should not be present.
Should be possible to create a QUnit test to check for this and make sure HTML with ids is not printed in the table of contents.