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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user