I need to embed javascript directly into html page generated by Thymeleaf Something like:
<script th:include="../static/assets/generated/scripts.js"></script>
But this simple usage leads to SAXParseException...
Is there any easy way to switch off parsing of the th:included content? Or any other way how to embed content of resource int the result page?