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

Autocomplete: Component is escaping although the escape attribute is set to false #10145

Closed
tfassbender opened this issue May 17, 2023 · 1 comment · Fixed by #10146
Closed
Assignees
Labels
🐞 defect Bug...Something isn't working
Milestone

Comments

@tfassbender
Copy link

Describe the bug

I try to enter some HTML into the Autocomplete component to display some icons. Therefore the text must not be escaped, but adding the attribute escape="false" to the autocomplete component doesn't seem to change the behavior. It still escapes the HTML-tags.
primefaces-test.zip

Reproducer

primefaces-test.zip

Expected behavior

The HTML tags in the component should not be escaped, so the text is displayed bold or italic (in the primefaces-test example that is linked above).

PrimeFaces edition

Community

PrimeFaces version

11.0.10

Theme

No response

JSF implementation

Mojarra

JSF version

2.3

Java version

11

Browser(s)

No response

@tfassbender tfassbender added ‼️ needs-triage Issue needs triaging 🐞 defect Bug...Something isn't working labels May 17, 2023
@melloware
Copy link
Member

Still looks like an issue with 13.0.0 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants