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

Content block in localizer is escaped in certain conditions #189

Closed
casid opened this issue Nov 28, 2022 · 0 comments
Closed

Content block in localizer is escaped in certain conditions #189

casid opened this issue Nov 28, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@casid
Copy link
Owner

casid commented Nov 28, 2022

For example

@param gg.jte.TemplateEngine_HtmlOutputEscapingTest.MyLocalizer localizer
<span>${localizer.localize("link", @`<a style="color: ${"foo"};">`, @`</a>`)}</span>

Actual output

<span><a style="color: foo;">Click here&lt;/a></span>

Expected output

<span><a style="color: foo;">Click here</a></span>
@casid casid added the bug Something isn't working label Nov 28, 2022
@casid casid self-assigned this Nov 28, 2022
@casid casid closed this as completed Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant