Make Installer::parse not be parseAsBlock
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 8 Apr 2019 02:24:57 +0000 (02:24 +0000)
committerBrian Wolff <bawolff+wn@gmail.com>
Wed, 8 May 2019 16:49:49 +0000 (16:49 +0000)
Previously all the checkboxes had newlines before their labels
which looked really broken.

Change-Id: I5e17524d90d10867ed27553a90cfb246984486d3

includes/installer/Installer.php

index c231288..5c3d1d0 100644 (file)
@@ -696,6 +696,7 @@ abstract class Installer {
                                'enableSectionEditLinks' => false,
                                'unwrap' => true,
                        ] );
+                       $html = Parser::stripOuterParagraph( $html );
                } catch ( Wikimedia\Services\ServiceDisabledException $e ) {
                        $html = '<!--DB access attempted during parse-->  ' . htmlspecialchars( $text );
                }