Skip to content

Commit

Permalink
Fix(search): restore valid heading hierarchy
Browse files Browse the repository at this point in the history
In #2286 the 2nd level heading in the intro was removed, so the h3
should be promoted to h2.
  • Loading branch information
micgro42 committed Apr 17, 2018
1 parent 78d786c commit 6d55fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/Ui/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ protected function getPageLookupHTML($data)
global $lang;

$html = '<div class="search_quickresult">';
$html .= '<h3>' . $lang['quickhits'] . ':</h3>';
$html .= '<h2>' . $lang['quickhits'] . ':</h2>';
$html .= '<ul class="search_quickhits">';
foreach ($data as $id => $title) {
$name = null;
Expand Down Expand Up @@ -562,7 +562,7 @@ protected function getFulltextResultsHTML($data, $highlight)
}

$html = '<div class="search_fulltextresult">';
$html .= '<h3>' . $lang['search_fullresults'] . ':</h3>';
$html .= '<h2>' . $lang['search_fullresults'] . ':</h2>';

$html .= '<dl class="search_results">';
$num = 1;
Expand Down

0 comments on commit 6d55fda

Please sign in to comment.