-
-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Labels
Description
Could you please create an option to support a label with HTML?
840c840,841
< $.trim( select.find('option[value="'+ instance._escapeSelector( selectVals[ key ] ) +'"]').text() )
---
> //$.trim( select.find('option[value="'+ instance._escapeSelector( selectVals[ key ] ) +'"]').text() )
> $.trim( select.find('option[value="'+ instance._escapeSelector( selectVals[ key ] ) +'"]').text().replace(/<\/?[^>]+(>|$)/g, ""))
842c843
<
---
>
880c881
< }).text( optionNameText );
---
> });//.text( optionNameText ); // comment this
900c901,902
<
---
> thisOption.append( option.name ); // add this
>