projects
/
plack-app-gruntmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f8a4fa0
)
Chomp article titles
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 11 Apr 2015 12:19:02 +0000
(15:19 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 11 Apr 2015 12:19:02 +0000
(15:19 +0300)
lib/Plack/App/Gruntmaster/HTML.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Plack/App/Gruntmaster/HTML.pm
b/lib/Plack/App/Gruntmaster/HTML.pm
index 9f6f2ec5b27c6454686be8a1916a3b95df8b018e..d6f6c254d7c4fecfba70277e3202a07df1ada3fc 100644
(file)
--- 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";
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)
}
my $meat = read_file "a/$art.$lang";
_render('skel', $lang, title => $title , meat => $meat, %args)
}
This page took
0.011057 seconds
and
4
git commands to generate.