--- /Users/robert/Desktop/drupal/modules/search.module 2005-08-22 03:12:05.000000000 +0200 +++ /Users/robert/Desktop/search.module 2005-08-22 03:17:13.000000000 +0200 @@ -251,7 +251,7 @@ $wordlist = $node['text1'] .' '. $node['text2']; // Strip heaps of stuff out of it. - $wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", '', $wordlist); + $wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", ' ', $wordlist); // Remove punctuation/special characters (same rule as do_search()). $wordlist = preg_replace("'(!|%|,|:|;|\(|\)|\&|\"|\'|\.|-|\/|\?|\\\)'", '', $wordlist);