--- C:\highlight_cvs.module	Fri Aug 11 13:49:49 2006
+++ C:\highlight.module	Fri Aug 11 13:54:18 2006
@@ -28,12 +28,13 @@
               $replace[] = '<strong class="highlight' . $count . '">' . $highlight . '</strong>';
               $replace[] = '<strong class="highlight' . $count . '">' . ucfirst($highlight) . '</strong>';
               $count++;
+		
             }
           }
         }
         if (count($key) > 0) {
-          $node->body = str_replace($key, $replace, $node->body);
-          $node->title = str_replace($key, $replace, $node->title);
+          $node->body = str_ireplace($key, $replace, $node->body);
+          $node->title = str_ireplace($key, $replace, $node->title);
           if(!($message_given)) {
             $message = count($key) > 1 ? t('The following terms have been highlighted: ') : t('The following term has been highlighted: ');
             drupal_set_message($message . implode(' ', $found));
