Bugzilla – Attachment 148167 Details for
Bug 20657
Globally enable PRE_CHOMP and POST_CHOMP in Template Toolkit configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20657: Enable PRE_CHOMP, POST_CHOMP and TRIM by default it TT
Bug-20657-Enable-PRECHOMP-POSTCHOMP-and-TRIM-by-de.patch (text/plain), 773 bytes, created by
Tomás Cohen Arazi
on 2023-03-14 14:48:56 UTC
(
hide
)
Description:
Bug 20657: Enable PRE_CHOMP, POST_CHOMP and TRIM by default it TT
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2023-03-14 14:48:56 UTC
Size:
773 bytes
patch
obsolete
>From 68b878504a846a6084cc18570c69e9f00f25ca37 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >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 <tomascohen@theke.io> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20657
: 148167 |
163235
|
163239
|
163240
|
163241