Posted by Pomliane on February 15, 2010 at 6:14pm
3 followers
| Project: | Tabs (jQuery UI tabs) |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
| Issue tags: | accents, Invalid XHTML |
Issue Summary
Hi,
If the title of a tab begins with an accented character the class name it produces begins with a dash which causes an XHTML validation error.
Example : the title "À l'intérieur" generates class="--l-039-int-rieur"
With the attached patch, this same title gives class="a-l-039-interieur" which passes validation.
Comments
#1
#2
Oops. Here is the patch...
#3
I'd prefer to avoid introducing a lot of complexity into tabs.
The token module IIRC includes good handling of this issue. Maybe we can use token if it's present?
#4
There is a similar issue that i have just moved from the panels_tabs queue when titles start with a hyphen, it makes the html id fail validation
#431794: HTML validation errors when title starts with a hyphen