X-Git-Url: http://git.ieval.ro/?p=plack-app-gruntmaster.git;a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=d6f6c254d7c4fecfba70277e3202a07df1ada3fc;hp=9f6f2ec5b27c6454686be8a1916a3b95df8b018e;hb=57566ce2c8083b69a0d1664d504d0500be42e280;hpb=f8a4fa095f622e783f2e27bfba86c0234a5983cf diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 9f6f2ec..d6f6c25 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -69,6 +69,7 @@ sub render_article { my ($art, $lang, %args) = @_; $lang //= 'en'; my $title = read_file "a/$art.$lang.title"; + chomp $title; my $meat = read_file "a/$art.$lang"; _render('skel', $lang, title => $title , meat => $meat, %args) }