WebInstaller: Use <div> instead of <span>
authorFomafix <fomafix@googlemail.com>
Mon, 24 Jul 2017 05:28:57 +0000 (07:28 +0200)
committerFomafix <fomafix@googlemail.com>
Mon, 24 Jul 2017 05:31:31 +0000 (07:31 +0200)
The parser output is enclosed by a <div> and must not enclosed into a
<span> because of an HTML validation error.

Bug: T171423
Change-Id: I034d54436a622803fe07d3c93483b9fe705bc925

includes/installer/WebInstaller.php

index a311ce9..27300f3 100644 (file)
@@ -703,7 +703,7 @@ class WebInstaller extends Installer {
                        "<span class=\"config-help-field-hint\" title=\"" .
                        wfMessage( 'config-help-tooltip' )->escaped() . "\">" .
                        wfMessage( 'config-help' )->escaped() . "</span>\n" .
-                       "<span class=\"config-help-field-data\">" . $html . "</span>\n" .
+                       "<div class=\"config-help-field-data\">" . $html . "</div>\n" .
                        "</div>\n";
        }