Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#6235 closed bug (notabug)

autocomplete 'label' is being escaped since jquery-ui 1.8.3 even though it may contain markup

Reported by: duh Owned by:
Priority: major Milestone:
Component: ui.autocomplete Version: 1.8.3
Keywords: autocomple label escaped Cc:
Blocked by: Blocking:


As described on, the autocomplete requires an array of objects (maps), containing two required properties:

  • A label property to display in the autocomplete list ("John Doe <[email protected]…>").

o This can be HTML markup, if a seperate markup-free value is specified.mac data recovery

  • A value property that ends up in the input field once selected ("[email protected]…");

o if undefined, same as label o this must be plain-text (no markup)

However, since jquery-ui 1.8.3 labels containing markup are being escaped. See the following URL for a live example (search for biological compounds, like 'glucose'):

Change History (2)

comment:1 Changed 12 years ago by Scott González

Resolution: invalid
Status: newclosed

This was an intentional change. Our official docs are posted at, what you were looking at is our planning wiki. I'll remove the old information from there.

If you want html labels, you can use the html extension available here:

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.