Changeset 219


Ignore:
Timestamp:
Aug 3, 2003, 12:20:32 AM (18 years ago)
Author:
Earle Martin
Message:

Added POST_CHOMP option to TT instance to remove ugly whitespace from
generated HTML.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Template.pm

    r218 r219  
    102102    my $config = $args{config} or croak "No config supplied";
    103103    my $template_path = $config->{_}->{template_path};
    104     my $tt = Template->new( { INCLUDE_PATH => $template_path } );
     104    my $tt = Template->new( { POST_CHOMP   => 1,
     105                              INCLUDE_PATH => $template_path } );
    105106
    106107    my $script_name = $config->{_}->{script_name};
Note: See TracChangeset for help on using the changeset viewer.