From f77efb6ee4fde9491272fe6cd105de8033fa363f Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Mon, 8 Apr 2019 02:24:57 +0000 Subject: [PATCH] Make Installer::parse not be parseAsBlock Previously all the checkboxes had newlines before their labels which looked really broken. Change-Id: I5e17524d90d10867ed27553a90cfb246984486d3 --- includes/installer/Installer.php | 1 + 1 file changed, 1 insertion(+) 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 ); } -- 2.20.1