-
Notifications
You must be signed in to change notification settings - Fork 40.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
SAXParseException when element in html5 is selfing-closing tags ( </link> ) - Spring boot 1.1.4 #1270
Comments
You probably need to ask someone from Thymeleaf about this. Spring Boot isn't doing anything special here. Their manual covers some of the templating options here: http://www.thymeleaf.org/doc/usingthymeleaf.html#what-kind-of-templates-can-thymeleaf-process. You might want to post the question on stackoverflow. |
I resolved the problem. Set the property "spring,thymeleaf.mode" to "LEGACYHTML5".
And in the pom.xml, add the dependency:
|
@phouverney thanks to your advice. |
@phouverney Thanks!!! |
Add test dependencies for saaj-impl and jax-ws since Java 9+ no longer includes them. See gh-1270
I am in Springboot 2.0.3 and getting this issue. What is the fix please? |
When we enable thymeleaf and if the html5 page is with self-closed tag, i get exception:
The text was updated successfully, but these errors were encountered: