From: Brian Wolff Date: Mon, 8 Apr 2019 02:24:57 +0000 (+0000) Subject: Make Installer::parse not be parseAsBlock X-Git-Tag: 1.34.0-rc.0~1764^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=f77efb6ee4fde9491272fe6cd105de8033fa363f;p=lhc%2Fweb%2Fwiklou.git Make Installer::parse not be parseAsBlock Previously all the checkboxes had newlines before their labels which looked really broken. Change-Id: I5e17524d90d10867ed27553a90cfb246984486d3 --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index c2312883c5..5c3d1d0b86 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -696,6 +696,7 @@ abstract class Installer { 'enableSectionEditLinks' => false, 'unwrap' => true, ] ); + $html = Parser::stripOuterParagraph( $html ); } catch ( Wikimedia\Services\ServiceDisabledException $e ) { $html = ' ' . htmlspecialchars( $text ); }