Skip to main content

Search and Top Navigation

#6235 closed bug (notabug)

Opened October 27, 2010 01:24PM UTC

Closed October 27, 2010 01:31PM UTC

Last modified October 11, 2012 09:15PM UTC

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 <>").

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 ("");

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'):

Attachments (0)
Change History (2)

Changed October 27, 2010 01:31PM UTC by scottgonzalez comment:1

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:

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted