]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/template.pm
* Patch from Alec Berryman adding a http_auth config item that allows
[ikiwiki.git] / IkiWiki / Plugin / template.pm
index 1a4faf05f03515c30e85f3d0d4a9359d9ab87c37..3d088289de667f00651739be80268ba6316a51fe 100644 (file)
@@ -32,6 +32,7 @@ sub preprocess (@) { #{{{
                filter => sub {
                         my $text_ref = shift;
                         $$text_ref=&Encode::decode_utf8($$text_ref);
                filter => sub {
                         my $text_ref = shift;
                         $$text_ref=&Encode::decode_utf8($$text_ref);
+                       chomp $$text_ref;
                 },
                 filename => srcfile($template_file),
                 die_on_bad_params => 0,
                 },
                 filename => srcfile($template_file),
                 die_on_bad_params => 0,