From e555c7bb368779b9db7478206698296f8d0fba8a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 5 Feb 2013 14:00:09 +0100 Subject: [PATCH] Automatically chomp all [%...%] directives This makes the use of [%-...-%] unnecessary. --- src/lib/Hydra/View/TT.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/Hydra/View/TT.pm b/src/lib/Hydra/View/TT.pm index d6fe943f..ab4965b4 100644 --- a/src/lib/Hydra/View/TT.pm +++ b/src/lib/Hydra/View/TT.pm @@ -6,6 +6,8 @@ use Hydra::Helper::Nix; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', + PRE_CHOMP => 1, + POST_CHOMP => 1, expose_methods => [qw/log_exists/]); sub log_exists {