You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite of unwanted this works correct.
And when using nekohtml 1.9.13+:
<!DOCTYPE html>
<html>
<head>
<title>Hello</title>
</head>
<body>
<input list="datalist" name="select">
<datalist id="datalist">
1
2
</datalist>
</body>
</html>
Looking to change log of version 1.9.13 (http://nekohtml.sourceforge.net/changes.html) I saw this:
don't generate opening TABLE or SELECT tag when it's missing (therefore discard child nodes)
I don't know is this issue treat more to Thymeleaf or to nekohtml, so i put it here. Sory if it is wrong.
Thanks for your attention.
The text was updated successfully, but these errors were encountered:
I'm afraid it looks as if nekohtml is taking the wrong decisions there, trying to force code to be more HTML4-compliant (but not HTML5 :(). The fact that <select> does not exist of course should not influence at all the existence of <option>s...
You will have to use the HTML5 template mode there to avoid nekohtml. As a side comment, Thymeleaf 3.0 will not need nekohtml anymore to process non-XML-ized HTML5 markup, so things like these should never happen again...
For example view:
renders to something like that when using nekohtml 1.9.12:
Despite of unwanted this works correct. And when using nekohtml 1.9.13+: <!DOCTYPE html> <html> <head> <title>Hello</title> </head> <body> <input list="datalist" name="select"> <datalist id="datalist"> 1 2 </datalist> </body> </html> Looking to change log of version 1.9.13 (http://nekohtml.sourceforge.net/changes.html) I saw this: don't generate opening TABLE or SELECT tag when it's missing (therefore discard child nodes) I don't know is this issue treat more to Thymeleaf or to nekohtml, so i put it here. Sory if it is wrong. Thanks for your attention.
The text was updated successfully, but these errors were encountered: