span in autocomplete items

span in autocomplete items

Hi,

I'm using the autocomplete widget with our own remote JSONP datasource. The server provides highlighted items that contain <span>s around the emphasized text.

As expected in this particular case, autocomplete doesn't select the item if the user clicks somewhere into the <span>ed area.

Is there any work around to this behaviour? How about event bubbling or adding a listener to the #highlight in the source?

Thanks for any hints,

Arnold42