On Wed, Aug 15, 2001 at 12:53:50PM +0100, Andrew McFarland wrote:
> I tried using replace('\n{2,}, '</p><p>'), 

You need to double quote "\n".  As in Perl, '\n' is not interpolated
as carriage return when in single quotes.

This works for me:

[% FILTER replace("\n{2,}", '</p><p>') %]


HTH
A



Reply via email to