Index: codefilter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/codefilter/codefilter.module,v
retrieving revision 1.24
diff -u -p -r1.24 codefilter.module
--- codefilter.module	28 Dec 2006 22:49:16 -0000	1.24
+++ codefilter.module	16 Aug 2007 23:02:31 -0000
@@ -99,7 +99,7 @@ function codefilter_filter($op, $delta =
       // Note: we use the bytes 0xFE and 0xFF to replace < > during the filtering process.
       // These bytes are not valid in UTF-8 data and thus least likely to cause problems.
       $text = preg_replace('@<code>(.+?)</code>@se', "'\xFEcode\xFF'. codefilter_escape('\\1') .'\xFE/code\xFF'", $text);
-      $text = preg_replace('@[\[<](\?php|%)(.+?)(\?|%)[\]>]@se', "'\xFEphp\xFF'. codefilter_escape('\\2') .'\xFE/php\xFF'", $text);
+      $text = preg_replace('@[\[<](\?php)(.+?)(\?)[\]>]@se', "'\xFEphp\xFF'. codefilter_escape('\\2') .'\xFE/php\xFF'", $text);
       return $text;
 
     case "process":
