diff options
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/friendlytitle.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/output/friendlytitle.php b/views/default/output/friendlytitle.php index a92726f69..fbc4f39de 100644 --- a/views/default/output/friendlytitle.php +++ b/views/default/output/friendlytitle.php @@ -8,11 +8,12 @@ $title = $vars['title']; - -$title = trim($title); -$title = strtolower($title); + +//$title = iconv('UTF-8', 'ASCII//TRANSLIT', $title); $title = preg_replace("/[^\w ]/","",$title); $title = str_replace(" ","-",$title); $title = str_replace("--","-",$title); +$title = trim($title); +$title = strtolower($title); echo $title; |