Author: accnospamtom
Description:
When creating sections like:
Überschrift (german for "heading")
mediawiki produces the following code in HTML:
<pre>
<h2> <span class="mw-headline" id=".C3.9Cberschrift">Überschrift</span></h2>
</pre>
- id=".C3.9Cberschrift" is clearly wrong (id and name attributes must begin with a letter)
- it's hard to target such IDs with css
- Why create a span with an ID in the first place? An element with an id should only exist once in a html document; it cannot be guaranteed that users don't create equal sections (that will lead to multiple IDs with the same name)
Version: 1.16.x
Severity: normal