This is what gets rendered in the html source:
<li>Confirm Password doesn&#39;t match password./li>
On the browser, this is read as: Confirm Password doesn't match password.
This is the code that generates this:
<spring:hasBindErrors name="profileAccount">
<ul class="errorsList">
<c:forEach items="${errors.allErrors}" var="error">
<li><spring:message code="${error.code}"
text="${error.defaultMessage}"
/></li>
</c:forEach>
</ul>
</spring:hasBindErrors>
How can I prevent the double escaping?
Thanks
http://static.springsource.org/spring/docs/2.5.x/reference/spring.tld.html#spring.tld.htmlEscape
and
http://static.springsource.org/spring/docs/2.5.x/reference/spring.tld.html#spring.tld.message
The htmlEscape attribute.