[opencms-dev] How to escape HTML for cms:contentshow

Alessandro Magnolo alessandro.magnolo at gmail.com
Fri Oct 21 17:14:47 CEST 2005

Is there a way to escape an XML content string?
What I'd like is something similar to the cms:property escapeHtml parameter.

i.e., with cms:property you can write:
<cms:property name="Keywords" escapeHtml="true" />

While the following is not valid:
<cms:contentshow element="MyElementName" escapeHtml="true" />

How can I escape the element content?

thank you
Alessandro Magnolo

More information about the opencms-dev mailing list