Scott Gray wrote:
> The only actual encoding required by freemarker is that we escape double 
> quotes because we use them to enclose the parameters in the macro calls and 
> also backslashes.  There is no need to use xml encoding and no need to decode 
> the escaping because freemarker does that automatically.
> 
> From 
> http://freemarker.sourceforge.net/docs/dgui_template_exp.html#dgui_template_exp_direct_string
> "If the text itself contains the character used for the quoting (either " or 
> ') or backslashes, you have to precede them with a backslash; this is called 
> escaping. You can type any other character, including line breaks, in the 
> text directly."

The real problem is executeMacro in that same class, it shouldn't be
doing things as a string, but instead looking up the requested macro
and executing it directly.

investigating...

Reply via email to