/podcast/{overzicht,stream,download} toegevoegd

This commit is contained in:
2017-06-11 22:58:53 +02:00
parent f2ae355e72
commit 7ede0532ac
8 changed files with 1660 additions and 211 deletions

View File

@@ -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)([a-z]{1,3})\b/u', '', $text);
$text = preg_replace('/\b(?!bel|fm)([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);