pawelczak / EasyAutocomplete

JQuery autocomplete plugin
http://easyautocomplete.com
MIT License
729 stars 245 forks source link

HTML appears in search box if <span> tag exists in list item and user navigates with Arrow Keys #479

Open slindsey1986 opened 1 year ago

slindsey1986 commented 1 year ago

image

Hi! Can someone help me out with this issue?

If I add or any other HTML inside the Options populating my list, the regEx handles removing them for the most part except when using the up or down arrows on the keyboard. See screenshot above.

I have been pulling my hair out on this one for a few weeks and I am stumped.

Any insight would be greatly appreciated! Thank you!