diff options
Diffstat (limited to 'perllib/FixMyStreet/TestMech.pm')
-rw-r--r-- | perllib/FixMyStreet/TestMech.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/TestMech.pm b/perllib/FixMyStreet/TestMech.pm index 386566e40..4c13831ba 100644 --- a/perllib/FixMyStreet/TestMech.pm +++ b/perllib/FixMyStreet/TestMech.pm @@ -325,7 +325,9 @@ sub extract_problem_meta { } ->scrape( $mech->response ); - return $result->{meta}; + my ($meta) = map { s/^\s+//; s/\s+$//; $_; } ($result->{meta}); + + return $meta; } =head2 extract_problem_title |