1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

helper meta title format fix

This commit is contained in:
secretr
2012-09-03 12:14:37 +00:00
parent c8cab64460
commit 724a948ca1

View File

@@ -4191,7 +4191,7 @@ class eHelper
public static function formatMetaTitle($title)
{
$title = trim(str_replace(array('"', "'"), '', strip_tags(e107::getParser()->toHTML($title, TRUE))));
return trim(preg_replace('/[\s,]+/', ',', str_replace('_', ' ', $title)));
return trim(preg_replace('/[\s,]+/', ' ', str_replace('_', ' ', $title)));
}
public static function secureSef($sef)