Combo checkbox with &-sign

Hi.

I’ve got this weird bug using dhtmlxcombo with checkboxes.
When my an item in my list contains a &-sign i.e. ‘You & Me’ and you select that item, the text in the inputfield reads ‘You & Me’.

Combo’s that don’t use opt_type checkbox are unaffected by the &-sign and show ‘You & Me’ in the inputfield.
So is some function overridden by dhtmlxcombo_extra.js?

Cheers

Ok, I’ve solved/worked around it by changing/adding the following code in dhtmlxcombo_extra.js:

dhtmlXCombo_checkboxOption.prototype.setValue = function(attr){
this.value = attr.value||"";
this.text = attr.text.replace(/&/g,"&")||"";
this.css = attr.css||"";
this.checked = attr.checked||0; //set checkbox state
}