From f4064c90d64b3a3ae6e168ff06c0202c4c1d7c50 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 29 Mar 2016 18:00:07 +0100 Subject: Switch list item heading from h4 to h3. This stops the front page header nesting skipping a level. --- perllib/FixMyStreet/TestMech.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perllib') diff --git a/perllib/FixMyStreet/TestMech.pm b/perllib/FixMyStreet/TestMech.pm index f3ee7787b..2ad820d1f 100644 --- a/perllib/FixMyStreet/TestMech.pm +++ b/perllib/FixMyStreet/TestMech.pm @@ -423,7 +423,7 @@ sub extract_problem_list { my $mech = shift; my $result = scraper { - process 'ul.item-list--reports li a h4', 'problems[]', 'TEXT'; + process 'ul.item-list--reports li a h3', 'problems[]', 'TEXT'; }->scrape( $mech->response ); return $result->{ problems } || []; -- cgit v1.2.3