mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
helper meta title format fix
This commit is contained in:
@@ -4191,7 +4191,7 @@ class eHelper
|
|||||||
public static function formatMetaTitle($title)
|
public static function formatMetaTitle($title)
|
||||||
{
|
{
|
||||||
$title = trim(str_replace(array('"', "'"), '', strip_tags(e107::getParser()->toHTML($title, TRUE))));
|
$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)
|
public static function secureSef($sef)
|
||||||
|
Reference in New Issue
Block a user