X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/dae0f48e91304afcb6ebe0936360e51b22a56548..67b513e8c46b0be038133122a37e7fae385f69fc:/IkiWiki/Plugin/template.pm diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm index 1a4faf05f..3d088289d 100644 --- a/IkiWiki/Plugin/template.pm +++ b/IkiWiki/Plugin/template.pm @@ -32,6 +32,7 @@ sub preprocess (@) { #{{{ 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,