From 68b878504a846a6084cc18570c69e9f00f25ca37 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 14 Mar 2023 11:48:32 -0300 Subject: [PATCH] Bug 20657: Enable PRE_CHOMP, POST_CHOMP and TRIM by default it TT Signed-off-by: Tomas Cohen Arazi --- C4/Templates.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/Templates.pm b/C4/Templates.pm index dd54a6e3f41..2603e3fc1ed 100644 --- a/C4/Templates.pm +++ b/C4/Templates.pm @@ -72,6 +72,9 @@ sub new { INCLUDE_PATH => \@includes, FILTERS => {}, ENCODING => 'UTF-8', + PRE_CHOMP => 3, + POST_CHOMP => 3, + TRIM => 1, } ) or die Template->error(); my $self = { -- 2.34.1