=== modified file 'modules/node/node.module' --- modules/node/node.module 2006-12-29 21:25:36 +0000 +++ modules/node/node.module 2007-01-04 13:07:08 +0000 @@ -146,7 +146,7 @@ function node_teaser($body, $format = NU $size = variable_get('teaser_length', 600); // Find where the delimiter is in the body - $delimiter = strpos($body, ''); + $delimiter = strpos($body, variable_get('node_teaser_break', '')); // If the size is zero, and there is no delimiter, the entire body is the teaser. if ($size == 0 && $delimiter === FALSE) { @@ -738,7 +738,7 @@ function node_prepare($node, $teaser = F */ function node_build_content($node, $teaser = FALSE, $page = FALSE) { // Remove the delimiter (if any) that separates the teaser from the body. - $node->body = str_replace('', '', $node->body); + $node->body = str_replace(variable_get('node_teaser_break', ''), '', $node->body); // The 'view' hook can be implemented to overwrite the default function // to display nodes.