How to display html in Thymeleaf that contains inline style with quotes
I've some html styled text that I want to display in the Thymeleaf template. To display the html, I'm using th:utext="${myVariable}", however, I'm getting an error:
Element type "span" must be followed by either attribute specifications, ">" or "/>".
It's may be because the html looks like this: