projects
/
app-web-oof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix invalid HTML by adding footer before </body>
[app-web-oof.git]
/
lib
/
App
/
Web
/
Oof.pm
diff --git
a/lib/App/Web/Oof.pm
b/lib/App/Web/Oof.pm
index 0bd08dfc84eecbc60c99aefd8afd4e50c4090dcf..e7d93f5d856a10621d526b79a6a3194eb86130c4 100644
(file)
--- a/
lib/App/Web/Oof.pm
+++ b/
lib/App/Web/Oof.pm
@@
-255,7
+255,7
@@
sub app {
my $app = shift;
sub {
my $res = $app->(@_);
-
push @{$res->[2]}, $footer
if $res->[0] == 200;
+
$res->[2][0] =~ s,</body>,$footer</body>,
if $res->[0] == 200;
$res;
}
};
This page took
0.010161 seconds
and
4
git commands to generate.