X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/dae0f48e91304afcb6ebe0936360e51b22a56548..5a82103526ab32e018cd999bb6a53d9e097c83a8:/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,