Author: mgharish
Description:
Consider the markup:
{|
<h1>ಅ</h1> |
- |
ಆ |
- |
} |
This is converted to HTML as:
<table> <tbody><tr> <td> <h1><span id=".E0.B2.85" class="mw-headline">ಅ</span></h1> </td> </tr> <tr> <td>ಆ</td> </tr> </tbody></table>Look at the <span> tag, which is not present in the actual wiki markup. The problem is that it is taking the Unicode code points of the text ಅ (Kannada letter A) in UTF-8 format, and is converting to value of the "id" attribute. This is breaking the XHTML validation of the texts. Why this extra <span> tag is introduced by MediaWiki? This is observed only for the heading tags <h1> to <h6>, and not for any other tag.
Thanks & Regards,
Harish
Version: unspecified
Severity: blocker
URL: http://kn.wikipedia.org/w/index.php?title=%E0%B2%B5%E0%B2%BF%E0%B2%95%E0%B2%BF%E0%B2%AA%E0%B3%80%E0%B2%A1%E0%B2%BF%E0%B2%AF:%E0%B2%AA%E0%B3%8D%E0%B2%B0%E0%B2%AF%E0%B3%8B%E0%B2%97_%E0%B2%B6%E0%B2%BE%E0%B2%B2%E0%B3%86&oldid=197048