Steps to Reproduce
- Visit https://en.m.wikipedia.org/wiki/Ulaanbaatar#Names_and_etymology
- Click Names and etymology
- Taken to "Names and etymology" section
- Taken to link in table of contents
Testing Environment for QA
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.