From 0c3c4e708d0264e803583a4ac497e8e8e519b128 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 30 Apr 2016 15:18:23 +0100 Subject: [PATCH] Fix invalid HTML by adding footer before --- lib/App/Web/Oof.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Web/Oof.pm b/lib/App/Web/Oof.pm index 0bd08df..e7d93f5 100644 --- 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,,$footer, if $res->[0] == 200; $res; } }; -- 2.39.2