Search and Top Navigation
#6732 closed bug (notabug)
Opened December 08, 2010 02:54PM UTC
Closed December 08, 2010 02:59PM UTC
HTML encoded characters do not get decoded in the autocomplete field
Reported by: | yakovt | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When setting the source for autocomplete with a Javascript array like so:
var availableTags = [" text "]; $( "#tags" ).autocomplete({ source: availableTags });
The special characters in the text above ( ) are displayed in the auto-suggest field as they are entered as follows:
text
The question/bug is: shouldn't this text be HTML decoded in the auto-suggest field's value so that the following is displayed in the suggestion drop down:
"text"
Attachments (0)
Change History (1)
Changed December 08, 2010 02:59PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
The labels are treated as text, not html. There's an html extension (demo) that you can use.
In the future, if you're not sure whether a specific behavior is a bug, please ask on the forums first.