Performs an HTML escape of a given template fragment. Specifically, < > " and & are all turned into entities.
Usage:
From java:
SimpleHash root = new SimpleHash(); root.put( "htmlEscape", new freemarker.template.utility.HtmlEscape() ); ...
From your FreeMarker template:
The following is HTML-escaped: <transform htmlEscape> <p>This paragraph has all HTML special characters escaped.</p> </transform> ...
@version $Id: HtmlEscape.java,v 1.29 2003/02/25 00:28:16 revusky Exp $
@see freemarker.template.utility.XmlEscape