#2715 closed bug (fixed)
ui:tabs breaks when tab links contain colons
Reported by: | mallenb | Owned by: | klaus.hartl |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.tabs | Version: | 1.5b4 |
Keywords: | tabs | Cc: | |
Blocked by: | Blocking: |
Description
It appears that if my tab links contain colons, ui:tabs doesn't work. You get the exception 'jQuery UI Tabs: Mismatching fragment identifier.'
<div id="container-1"> <ul> <li><a href="#00:11:22:33:44:55"><span>00:11:22:33:44:55</span></a></ li> <li><a href="#aa:bb:cc:dd:ee:ff"><span>aa:bb:cc:dd:ee:ff</span></a></ li> </ul> <div id="00:11:22:33:44:55""> hello </div> <div id="aa:bb:cc:dd:ee:ff""> world </div> </div>
Change History (10)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Owner: | changed from paul to klaus |
---|---|
Priority: | major → minor |
comment:4 Changed 15 years ago by
Component: | ui.core → ui.tabs |
---|---|
Version: | 1.2.3 → 1.5b4 |
comment:5 Changed 15 years ago by
Owner: | changed from klaus to klaus.hartl |
---|---|
Status: | new → assigned |
comment:6 Changed 15 years ago by
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
http://www.w3.org/TR/REC-html40/types.html#type-name
=> First example ("00:11:22:33:44:55") is invalid.
comment:7 Changed 15 years ago by
This problem occurs because the hash is used as a jQuery selector and the colons need to be escaped.
comment:8 Changed 15 years ago by
Milestone: | → TDB |
---|
Note: See
TracTickets for help on using
tickets.
This is in Tabs 3.