From bd097f45fe20a494519c0d1b263d7cc3cf6743f2 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Fri, 5 Jan 2007 22:01:02 +0000 Subject: Revert break tag. --- modules/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/node/node.module b/modules/node/node.module index a4269a38a..dbd4dd3ab 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -146,7 +146,7 @@ function node_teaser($body, $format = NULL) { $size = variable_get('teaser_length', 600); // Find where the delimiter is in the body - $delimiter = strpos($body, ''); + $delimiter = strpos($body, ''); // 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 = FALSE) { */ 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('', '', $node->body); // The 'view' hook can be implemented to overwrite the default function // to display nodes. -- cgit v1.2.3