title: Greater than > Less than < inside thymeleaf javascript... Error: The content of elements must consist of well-formed character data or markup
body: <p>I get this error when I try to insert <code>&lt;</code> or <code>&gt;</code> operators inside the <code>thymeleaf</code> javascript.</p>
  
  <p>My code</p>
  
  <pre><code>&lt;script th:inline="javascript"&gt;
      $(document).ready(function () {
          ...
          if(timeRemain &lt; 0){
              ...
          }
          ...
          var result = (hours &lt; 10 ? "0" + hours : hours) + ":" + (minutes &lt; 10 ? "0" + minutes : minutes) + ":" + (seconds  &lt; 10 ? "0" + seconds : seconds);
          ...         
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Error message</p>
  
  <blockquote>
    <p>org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.</p>
  </blockquote>
  
  <p>How can i solve this?</p>