-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX issue when using selectmenu on an XHTML5 page with & in text/value's... #313
base: selectmenu
Are you sure you want to change the base?
Conversation
I'm not able to reproduce this. Would you please post a demo fiddle? See #61 |
You right, I should have tested the given sample... I add the format option to wrap text in a span. |
Problem is not related to HTML5 but to jQuery 1.10.2 / UI 1.10.3 which is currently not supported. Please downgrade or try using #140 I will keep this fix in min when updating the jQuery / UI version. |
I downgraded to jquery 1.8.3 and jquery-ui 1.9.1 but the bug is still present. Uncaught SyntaxError: An invalid or illegal string was specified. jquery.js:6325 jQuery.extend.clean jquery.js:6325 jQuery.buildFragment jquery.js:6164 jQuery.fn.extend.domManip jquery.js:5974 jQuery.fn.extend.append jquery.js:5777 (anonymous function) jquery.js:5904 jQuery.extend.access jquery.js:814 jQuery.fn.extend.html jquery.js:5868 jQuery.extend.attr jquery.js:2285 jQuery.extend.access jquery.js:821 jQuery.extend.access jquery.js:795 jQuery.fn.extend.attr jquery.js:2005 jQuery.fn.jQuery.init jquery.js:133 jQuery jquery.js:44 $.widget._init jquery.ui.selectmenu.js:315 // note: my fix step in here (anonymous function) jquery-ui.js:419 $.Widget._createWidget jquery-ui.js:586 $.(anonymous function).(anonymous function) jquery-ui.js:383 (anonymous function) jquery-ui.js:528 jQuery.extend.each jquery.js:611 jQuery.fn.jQuery.each jquery.js:241 $.fn.(anonymous function) jquery-ui.js:523 (anonymous function) select.xhtml:31 fire jquery.js:974 self.fireWith jquery.js:1084 jQuery.extend.ready jquery.js:406 DOMContentLoaded |
Mhhh, I'm a little confused as your HMTL and JS works when used in the repo:
|
Can you test again http://sargeras.kveer.fr/select.xhtml ? |
I have submited a patch to make the plugin XHTML5 more compliant.
A sample select that crash the plugin in XHTML5 page (doctype & mime-type):