From 7ed3cf3b133aa980f110ebf6585d69448e2cb6ef Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 10 Oct 2009 21:39:03 +0000 Subject: #569238 by sun, swentel, catch: Changed Make check_markup() not cache by default. --- modules/node/node.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.api.php') diff --git a/modules/node/node.api.php b/modules/node/node.api.php index 1ed19a6aa..7e1491b53 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -486,7 +486,7 @@ function hook_node_update_index($node) { $text = ''; $comments = db_query('SELECT subject, comment, format FROM {comment} WHERE nid = :nid AND status = :status', array(':nid' => $node->nid, ':status' => COMMENT_PUBLISHED)); foreach ($comments as $comment) { - $text .= '

' . check_plain($comment->subject) . '

' . check_markup($comment->comment, $comment->format); + $text .= '

' . check_plain($comment->subject) . '

' . check_markup($comment->comment, $comment->format, '', TRUE); } return $text; } -- cgit v1.2.3