https://bugzilla.wikimedia.org/show_bug.cgi?id=28164
Summary: Table Markup adds extra span and breaks XHTML
validation
Product: MediaWiki
Version: wikimedia-deployment
Platform: All
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%E
0%B3%8B%E0%B2%97_%E0%B2%B6%E0%B2%BE%E0%B2%B2%E0%B3%86&
oldid=197048
OS/Version: All
Status: NEW
Severity: blocker
Priority: Normal
Component: Internationalization
AssignedTo: [email protected]
ReportedBy: [email protected]
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l