This question has been asked before but I did not solve my problem and I getting some weird functionality.
If I put my index.html file in the static directory like s
this error probably is occurred most of the time due to missing closing tag. and further you can the following dependency to resolve this issue while supporting legacy HTML formate.
as it your code charset="UTF-8"> here is no closing for meta tag.
net.sourceforge.nekohtml nekohtml 1.9.22