Feature request: <ul>,<li> for Autocomplete

Feature request: <ul>,<li> for Autocomplete

Not sure if this is the right place for a feature request.

It would be good if the Autocomplete widget would accept HTML as input in the following form:

<ul>
  <li data-value="optional value0">
    Some text to describe the value with HTML markup.
  </li>
  <li data-value="optional value1">
    More HTML
  </li>
</ul>

The benefit of this format over JSON is that it's easier to produce, you don't have to escape any characters, it's easier to view and debug, and it's easier to see what you're doing if you decide to add styles in the HTML.

If you need to get fancy and preprocess the HTML on the client side, you'll be able to do it using regular jQuery tools, selectors, etc.. It's not so easy to do this with JSON.

As it stands now, the JSON format doesn't handle HTML markup in the "label" property. (Maybe this is a bug? Don't know. But "<b></b>" is rendered as text, not markup.)