-
Notifications
You must be signed in to change notification settings - Fork 71
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
Comments break JTE #359
Comments
Thank you for reporting @tschuehly and thanks for sharing your workshop. That is pretty cool! I think this issue should be fixed now. Would you be able to try if it works with all your workshop examples as well? You should be able to test with the latest snapshot release: https://jitpack.io/#casid/jte/-SNAPSHOT Once you confirm the fix, I will create a new bugfix release. |
Thank you for the quick fix! I can try it out next week. |
Hey @casid Jitpack seems to have a problem building the runtime: https://jitpack.io/com/github/casid/jte/3ad76aa95f/build.log |
Hi @tschuehly, thank you for testing and confirming the fix! I will release a new version today.
It looks like Jitpack still uses Java 8 for building and the --release option is not available there yet. Cheers! |
jte 3.1.12 is now published, containing this fix. |
Hello @casid ,
I'm using JTE in my server-side rendering with Spring workshop: https://tschuehly.gitbook.io/server-side-spring-htmx-workshop/lab-3-inline-editing
To explain the code snippets I added JTE comments with
<%-- (1) --%>
to the code.This breaks JTE rendering, it will still render but the attributes after the first comment are not part of the tag anymore.
If I instead use normal HTML comments
<-- -->
in the same place, JTE will render it correctly but the syntax highlighting of the JTE plugin will break.I would expect that the JTE comments are completely ignored from rendering.
It would be lovely if you could provide a hotfix as I'm repeating the workshop two times in the next two weeks.
Thank you!
The text was updated successfully, but these errors were encountered: