-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Using Qute asHtmlAttributes
is escaping the quotes in the output
#38251
Comments
/cc @mkouba (qute) |
The is straightforward, except that we must change the return type of the |
@mkouba you need to update the doc |
Oh yes, we could mention that the values are always escaped but other than that the docs is IMO ok. |
@mkouba I mean for the |
Well, I think that 99% of users will never need |
@mkouba so _args.asHtmlAttributes actually works as it is? I just misunderstood what you mean before by "to use it as a String", if that's the case, you can ignore my comment :) |
Yes, it does. But you get a |
- resolves quarkusio#38251 (cherry picked from commit 8b445f1)
Describe the bug
Using Qute
asHtmlAttributes
is escaping the quotes in the output:The workaround is to use:
asHtmlAttributes.safe
Expected behavior
I believe the value (inside the quote) should be escaped
Actual behavior
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.6.5
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: