--- .svn/text-base/node.module.svn-base	2006-12-03 08:59:07.000000000 -0700
+++ node.module	2006-12-03 20:18:41.000000000 -0700
@@ -160,21 +160,21 @@ function node_teaser($body, $format = NU
     return $body;
   }
 
+  // If a valid delimiter has been specified, use it to chop off the teaser.
+  if ($delimiter !== FALSE) {
+    return substr($body, 0, $delimiter);
+  }
+
   // We check for the presence of the PHP evaluator filter in the current
   // format. If the body contains PHP code, we do not split it up to prevent
   // parse errors.
   if (isset($format)) {
     $filters = filter_list_format($format);
-    if (isset($filters['filter/1']) && (strpos($body, '<?') !== FALSE) && (strpos($body, '<?') < $delimiter)) {
+    if (isset($filters['filter/1']) && strpos($body, '<?') !== FALSE) {
       return $body;
     }
   }
 
-  // If a valid delimiter has been specified, use it to chop of the teaser.
-  if ($delimiter !== FALSE) {
-    return substr($body, 0, $delimiter);
-  }
-
   // If we have a short body, the entire body is the teaser.
   if (strlen($body) < $size) {
     return $body;
