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

Character escaping in Qute doesn't work #13113

Closed
wgresshoff opened this issue Nov 4, 2020 · 1 comment · Fixed by #13116
Closed

Character escaping in Qute doesn't work #13113

wgresshoff opened this issue Nov 4, 2020 · 1 comment · Fixed by #13116
Assignees
Labels
area/qute The template engine kind/bug Something isn't working
Milestone

Comments

@wgresshoff
Copy link

wgresshoff commented Nov 4, 2020

Describe the bug
Characters like '&' aren't escaped.
qute-test.zip

Expected behavior
Characters like '&', '"', ... should be escaped to '&', '"' etc.

Actual behavior
The html output contains invalid characters like '&' ...

To Reproduce

Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).

Or attach an archive containing the reproducer to the issue.

Steps to reproduce the behavior:
1.
2.
3.

Configuration

# Add your application.properties here, if applicable.

Screenshots
(If applicable, add screenshots to help explain your problem.)

Environment (please complete the following information):

  • Output of uname -a or ver: Linux 5.8.16-300.fc33.x86_64 Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Mon Oct 19 13:18:33 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Output of java -version: openjdk 11.0.9 2020-10-20
    OpenJDK Runtime Environment 18.9 (build 11.0.9+11)
    OpenJDK 64-Bit Server VM 18.9 (build 11.0.9+11, mixed mode, sharing)
  • GraalVM version (if different from Java): ---
  • Quarkus version or git rev: 1.9.1.Final
  • Build tool (ie. output of mvnw --version or gradlew --version): Maven 3.6.3

Additional context
(Add any other context about the problem here.)

@wgresshoff wgresshoff added the kind/bug Something isn't working label Nov 4, 2020
@quarkusbot quarkusbot added the area/qute The template engine label Nov 4, 2020
@quarkusbot
Copy link

/cc @mkouba

@mkouba mkouba self-assigned this Nov 4, 2020
@mkouba mkouba added this to the 1.10 - master milestone Nov 4, 2020
mkouba added a commit to mkouba/quarkus that referenced this issue Nov 4, 2020
@gsmet gsmet modified the milestones: 1.10 - master, 1.9.2.Final Nov 4, 2020
gsmet pushed a commit to gsmet/quarkus that referenced this issue Nov 4, 2020
@gsmet gsmet modified the milestones: 1.9.2.Final, 1.7.6.Final Nov 16, 2020
gsmet pushed a commit to gsmet/quarkus that referenced this issue Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qute The template engine kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants