java - Thymeleaf th:block not working any more -


i have written block of code in thymeleaf:

<th:block th:if="${i.mid} > ${yesterday.tableratemodel.rates[e.index].mid}">                         <i class="glyphicon glyphicon-arrow-up"></i>                     </th:block>                     <th:block th:if="${i.mid} == ${yesterday.tableratemodel.rates[e.index].mid}">                         <i class="glyphicon glyphicon-resize-small"></i>                     </th:block>                     <th:block th:if="${i.mid} < ${yesterday.tableratemodel.rates[e.index].mid}">                         <i class="glyphicon glyphicon-arrow-down"></i>                     </th:block> 

and in case error like: org.xml.sax.saxparseexception: value of attribute "th:if" associated element type "th:block" must not contain '<' character.

but when comment last th:block works properly. wrong?

the problem <

use this:

&lt; < &gt; > &le; <= &ge; >= 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -