I have textfield where I am using the autocomplete. I want to allow users to use html in the input . And while outputting the result I am escaping the html.
Now there is an issue if I use the default "highlight" feature of the autocomplete plugin. If the result contains escaped html characters, the highlight is not working properly. Also the characters are not displayed properly in the list. Ex: If the response contains < test > Then 1. In the list it is appearing as <; test >; 2. Highlight is not working. I found the issue is with the options.highlight() function in the plugin. It is using RegExp to match and highlight the result. This is buggy. Any fix for this ?