Re: Desired Features in FreeMarker

Attila Szegedi <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
On 2008.01.17., at 19:32, mraible wrote:

> 3. XML in variables is escaped by default.
>
> For #3, neither JSP or FreeMarker solve this problem. I realize it  
> can be
> fixed in FreeMarker by hacking the code - I've done the same with  
> Tomcat and
> solved it for JSP as well.

Wouldn't putting [#escape x as x?xml] at the top of each template (and  
[/#escape] at the bottom) solve this problem?

Attila.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.