Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon on selected options looks like html code #2262

Closed
andrconstruction opened this issue Mar 10, 2015 · 1 comment
Closed

Icon on selected options looks like html code #2262

andrconstruction opened this issue Mar 10, 2015 · 1 comment

Comments

@andrconstruction
Copy link

Hi all. Please explain me. Why when I use icons (font-awesome) within chosen, in a list looks like a icon, but when selected, displayed like html code instead an icon.
And I didn't find js file in the new version

error

@tjschuck
Copy link
Member

@andrconstruction Rendering HTML in the options in the first place was actually a security bug, and was recently reverted in v1.4.0 in #2254. See the linked issues there for more info.

As for the general feature of "adding some design/HTML to options", in these parts we refer to that as "templating", and the canonical place to discuss that is #692. There's a number of other issues and PRs linked from that one, but please leave any additional feedback you have there. Closing this in favor of that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants