Re: Desired Features in FreeMarker
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Thursday, January 17, 2008, 10:39:55 PM, Attila Szegedi wrote: > 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? But note that that's a quite lame solution for a such common task, as I said here for several times. > Attila. -- Best regards, Daniel Dekany ------------------------------------------------------------------------- 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/