summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-07 15:51:24 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-07 15:51:24 +0000
commitb52f2556f57eb5c68de0690328661b553eb769ec (patch)
treea0d698740fb5ed29a306769f110146273568c88c
parent46808f11f4c9485cc9aa9dd72a9525a6c55a30e3 (diff)
downloadbrdo-b52f2556f57eb5c68de0690328661b553eb769ec.tar.gz
brdo-b52f2556f57eb5c68de0690328661b553eb769ec.tar.bz2
- Patch #107306 by webernet: fixed incomplete break-tag clean up.
-rw-r--r--modules/book/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index f8b8903e8..8e22d7be4 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -781,7 +781,7 @@ function book_recurse($nid = 0, $depth = 1, $visit_pre, $visit_post) {
*/
function book_node_visitor_html_pre($node, $depth, $nid) {
// Remove the delimiter (if any) that separates the teaser from the body.
- $node->body = str_replace('<break>', '', $node->body);
+ $node->body = str_replace('<!--break-->', '', $node->body);
// The 'view' hook can be implemented to overwrite the default function
// to display nodes.