From 6d55fda7de37f2a4bca72abd080dc59986d75e36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= <grosse@cosmocode.de>
Date: Tue, 17 Apr 2018 10:49:07 +0200
Subject: [PATCH] Fix(search): restore valid heading hierarchy

In #2286 the 2nd level heading in the intro was removed, so the h3
should be promoted to h2.
---
 inc/Ui/Search.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/Ui/Search.php b/inc/Ui/Search.php
index 7092efab5..5ba342123 100644
--- a/inc/Ui/Search.php
+++ b/inc/Ui/Search.php
@@ -522,7 +522,7 @@ class Search extends Ui
         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;
@@ -562,7 +562,7 @@ class Search extends Ui
         }
 
         $html = '<div class="search_fulltextresult">';
-        $html .= '<h3>' . $lang['search_fullresults'] . ':</h3>';
+        $html .= '<h2>' . $lang['search_fullresults'] . ':</h2>';
 
         $html .= '<dl class="search_results">';
         $num = 1;
-- 
GitLab