spring:message inside a meta content argument
Hi there
Im trying to fill the content argument of a meta tag inside a site, dynamically.
example:
HTML Code:
<meta name="description" content="<spring:message code="${page.metaDescriptionKey}" />">
This produces the error:
Code:
The value of attribute "content" associated with an element type "null" must not contain the '<' character.
Surely this comes from using a spring tag inside the argument but how would you solve this? I want to keep the content language-dynamic.
Thanks for any hints