Merge "resourceloader: Move per-page function calls to startup.js"
[lhc/web/wiklou.git] / 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 );
                }