Merge "Convert article delete to use OOUI"
[lhc/web/wiklou.git] / includes / installer / CliInstaller.php
index 661c3ec..6ac78c4 100644 (file)
@@ -47,8 +47,6 @@ class CliInstaller extends Installer {
        ];
 
        /**
-        * Constructor.
-        *
         * @param string $siteName
         * @param string $admin
         * @param array $option
@@ -180,7 +178,7 @@ class CliInstaller extends Installer {
 
                $text = preg_replace( '/<a href="(.*?)".*?>(.*?)<\/a>/', '$2 &lt;$1&gt;', $text );
 
-               return html_entity_decode( strip_tags( $text ), ENT_QUOTES );
+               return Sanitizer::stripAllTags( $text );
        }
 
        /**