From be59d6a674e5a16c98bb7372e8c024c7c676e5ec Mon Sep 17 00:00:00 2001
From: Kjartan Mannes <kjartan@2.no-reply.drupal.org>
Date: Thu, 3 Jun 2004 11:19:38 +0000
Subject: [PATCH] - Fixing bug 5845: Root page of book module does use
 <--break-->.

---
 modules/book.module      | 2 +-
 modules/book/book.module | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/book.module b/modules/book.module
index 7a36a03d22b0..bf55805b0a02 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -695,7 +695,7 @@ function book_render() {
       // output the content:
       $output .= '<div class="book">';
       $output .= '<div class="title">'. l($node->title, "book/view/$node->nid") .'</div>';
-      $output .= '<div class="body">'. $node->body .'</div>';
+      $output .= '<div class="body">'. $node->teaser .'</div>';
       $output .= '</div>';
     }
   }
diff --git a/modules/book/book.module b/modules/book/book.module
index 7a36a03d22b0..bf55805b0a02 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -695,7 +695,7 @@ function book_render() {
       // output the content:
       $output .= '<div class="book">';
       $output .= '<div class="title">'. l($node->title, "book/view/$node->nid") .'</div>';
-      $output .= '<div class="body">'. $node->body .'</div>';
+      $output .= '<div class="body">'. $node->teaser .'</div>';
       $output .= '</div>';
     }
   }
-- 
GitLab