Output HTML text entered as is instead of escaping it
We want the text component to be modified that "ANY" html should be interpreted as is. RTE doesn't allow say for example to insert <font style='10px'> etc. We want to create this as the authors are requesting complete control. As much as style and css are right options, the authors WANT that option available to ahve multiple formattings in same paragraph.
We've tried the following,
<% String text2 = properties.get("text", "");
out.print(text2);
%>
<cq:text property="text" escapeXml="true"/>
Both if text is <u>Sample text</u>
Do not interpret it and render it as is. However if we use <% out.println("<b>Sample</b>");%> it does work and makes the text bold. Is there a way to do this or the platform will ALWAYS deny it?