From 45d5aad6dfde192ef5b986f3233a41f15d035f24 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 May 2003 16:26:13 +0000 Subject: - Updated Drupal to use "on output" filters. Derived from Gerhard's patch. --- modules/book.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/book.module') diff --git a/modules/book.module b/modules/book.module index dcc40ae25..200ea3c11 100644 --- a/modules/book.module +++ b/modules/book.module @@ -149,8 +149,6 @@ function book_validate(&$node) { } else { $node->format = 0; - $node->body = filter($node->body); - $node->teaser = filter($node->teaser); } // Set default values for non administrators: @@ -363,7 +361,7 @@ function book_body($node) { ob_end_clean(); } else { - $output = check_output(filter($node->body)); + $output = check_output($node->body); } return $output; -- cgit v1.2.3