Use Sanitizer::stripAllTags( $x ) instead of html_entity_decode( strip_tags( $x ) )
[lhc/web/wiklou.git] / includes / installer / CliInstaller.php
index 661c3ec..af55dbb 100644 (file)
@@ -180,7 +180,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 );
        }
 
        /**