diff --git a/base.php b/base.php index 731c85e..8648b55 100644 --- a/base.php +++ b/base.php @@ -403,7 +403,7 @@ function normalize_word_sound($word, $cback=null) { function normalize_for_search($str) { if (trim($str) === '') return ''; - $str = strip_tags(trim($str)); + $str = trim(strip_tags(str_replace('>', '> ', $str))); $str = strtolower(remove_accents($str)); $str = preg_replace('/[^a-z0-9]+/', ' ', $str); $str = preg_replace('/\s+/', ' ', $str);