-
Notifications
You must be signed in to change notification settings - Fork 62
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
hyperscript css selector issue #214
Comments
Nice. I was going to post the same. I have exactly the same problem. Unfortunately, even with
Anyways, even if |
Thanks for reporting, I have a look at it! |
I just published a hotfix version |
Wow. It is amazing on how fast did you fix the issue. Thank you. <3 |
Nice, already available on Maven Central and just tested it out and it works. Thanks for the quick fix! |
Thanks for the quick confirmation! 👍 |
When using Hyperscript in combination with JTE I'm getting a templating error from JTE.
I've setup a demo project to showcase: jte-hyperscript-bug, simply checkout and run
./mvnw spring-boot:run
In the code you'll find one template,
index.jte
, there you can see the following:The first hyperscript action (on the p element) works without issues (if you comment out the form). The hyperscript action on the form throws an error, due to the selector being used to target the button. I'm using the CSS selector defined in Hyperscript's documentation.
The error thrown is:
gg.jte.TemplateException: Failed to compile index.jte, error at line 20: Unclosed tag <body>, expected </body>, got </form>
If you change it to the following implementation:
It does work without issues.
The text was updated successfully, but these errors were encountered: