Sta 'NH' in slugs toe
This commit is contained in:
@@ -46,7 +46,7 @@ class Model {
|
||||
$text = str_replace($search, $replace, $text);
|
||||
|
||||
// Verwijder alle woorden van 3 letters, behalve BEL (BEL-combinatie etc)
|
||||
$text = preg_replace('/\b(?!bel|fm)([a-z]{1,3})\b/u', '', $text);
|
||||
$text = preg_replace('/\b(?!bel|fm|nh)([a-z]{1,3})\b/u', '', $text);
|
||||
|
||||
// Vervang alles dat niet een woord-karakter is (letter, cijfer), een streepje of spatie
|
||||
$text = preg_replace('/[^\w_\-\s]/', '', $text);
|
||||
|
||||
Reference in New Issue
Block a user