projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d1bcd
)
Remove trailing & from prev/next page links in log
author
Marius Gavrilescu
<marius@ieval.ro>
Sun, 15 Feb 2015 16:27:02 +0000
(18:27 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sun, 15 Feb 2015 16:27:02 +0000
(18:27 +0200)
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 bdd20c2d183439a6ef7635abc3bf38b075282e82..cd65088a44a40c83fb7e7b21ac3d833897f2788e 100644
(file)
--- a/
lib/Plack/App/Gruntmaster/HTML.pm
+++ b/
lib/Plack/App/Gruntmaster/HTML.pm
@@
-249,7
+249,7
@@
sub process_log {
next unless $elem;
delete $args{args}{page};
my $str = join '&', map { $_ . '=' . $args{args}{$_} } keys %{$args{args}};
- $elem->find('a')->edit_href(sub{s/$/&$str/});
+ $elem->find('a')->edit_href(sub{s/$/&$str/})
if $str
;
}
$tree->fclass('current')->replace_content("Page $args{current_page} of $args{last_page}");
}
This page took
0.011139 seconds
and
4
git commands to generate.