Unifying HTML stripping functions to common_strip_html

This commit is contained in:
Mikael Nordfeldth
2014-07-14 13:52:23 +02:00
parent e0a10f775f
commit ae62b91940
9 changed files with 23 additions and 27 deletions

View File

@@ -341,7 +341,7 @@ class DomainStatusNetworkInstaller extends Installer
$breakout = preg_replace('/<a[^>+]\bhref="(.*)"[^>]*>(.*)<\/a>/',
'\2 &lt;\1&gt;',
$html);
return html_entity_decode(strip_tags($breakout), ENT_QUOTES, 'UTF-8');
return common_strip_html($breakout);
}
function databaseize($nickname)