> Try putting the \\n inside of single quotes. The \\n is probably being
> interpolated twice. Once inside the double quotes "" to be \n and then
> one more time inside of the regular expression.
> 

In fact, it's even more than that.  To get it to work, you need to use
this:

[% Foo.replace: [% foo.replace('\\\n',"\n"); %]

I would consider this a bug

Clint



_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to