]> source.dussan.org Git - jquery-ui.git/commit
Autocomplete: Render items as text, not HTML. Fixes #5275 - suggestions are not html...
authorScott González <scott.gonzalez@gmail.com>
Mon, 19 Jul 2010 19:45:30 +0000 (15:45 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 19 Jul 2010 19:45:30 +0000 (15:45 -0400)
commit1f2cfb942f8ac5549b1fe3172501e3486415530e
treee675788946bbe39bf323bfcb854a87c74ad1a04f
parent7deb873c51ede9fb5e8b23949ccc4dda58650770
Autocomplete: Render items as text, not HTML. Fixes #5275 - suggestions are not html-encoded.

As noted in the ticket, it's probably better to default to unstyled items to prevent problems. Users can still implement their own rendering method as shown in the custom data and display demo.
demos/autocomplete/combobox.html
demos/autocomplete/search.php
ui/jquery.ui.autocomplete.js