--- .svn/text-base/codefilter.module.svn-base	2007-02-20 21:33:02.000000000 -0700
+++ codefilter.module	2007-02-20 22:23:51.000000000 -0700
@@ -35,6 +35,7 @@ function codefilter_process_php($text) {
   $text = trim($text, "\r\n");
   // Highlight as PHP
   $text = '<div class="codeblock">'. highlight_string("<?php\n$text\n?>", 1) .'</div>';
+  $text = str_replace(array('<font color="', '</font>'), array('<span style="color: ', '</span>'), $text);
   // Remove newlines to avoid clashing with the linebreak filter
   $text = str_replace("\n", '', $text);
   return codefilter_fix_spaces($text);
@@ -48,6 +49,7 @@ function codefilter_process_php_inline($
   $text = str_replace('<br />', '', $matches[0]);
   // Decode entities (the highlighter re-entifies) and highlight text
   $text = highlight_string(decode_entities($text), 1);
+  $text = str_replace(array('<font color="', '</font>'), array('<span style="color: ', '</span>'), $text);
   // Remove PHP's own added code tags
   $text = str_replace(array('<code>', '</code>', "\n"), array('', '', ''), $text);
   return $text;
