loopj/jquery-tokeninput — Issue #214: Entries with special characters are not highlighted
Author: kikito
Created: 2011-11-16 11:42:42+00:00
State: open

Hi, I have just noticed that highlight doesn't work on elements containing special characters (I have tested with () and [], probably the whole regexp chars are doing it too).

I would upload a screenshot, but it is impossible for me to make (the focus gets lost and the drop-down dissappears).

Here is what I see when I write "es" on a jquery-tokenInput for language selection:

* **es** - Español
* es_ar - Español (Argentina)
* et - **Es**tonio

Notice that the second entry isn't highlighted. If I remove the parenthesis, it gets highlighted.