? mypatch.patch
Index: modules/node/node.tokens.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.tokens.inc,v
retrieving revision 1.4
diff -u -p -r1.4 node.tokens.inc
--- modules/node/node.tokens.inc	11 Oct 2009 03:07:18 -0000	1.4
+++ modules/node/node.tokens.inc	20 Oct 2009 03:41:09 -0000
@@ -139,13 +139,13 @@ function node_tokens($type, $tokens, arr
 
         case 'body':
           if (!empty($node->body)) {
-            $replacements[$original] = $sanitize ? $node->body[0]['safe'] : $node->body[0]['value'];
+            $replacements[$original] = $sanitize ? check_markup($node->body[FIELD_LANGUAGE_NONE][0]['value'], $node->body[FIELD_LANGUAGE_NONE][0]['format']) : $node->body[FIELD_LANGUAGE_NONE][0]['value'];
           }
           break;
 
         case 'summary':
           if (!empty($node->body)) {
-            $replacements[$original] = $sanitize ? $node->body[0]['safe_summary'] : $node->body[0]['summary'];
+            $replacements[$original] = $sanitize ? check_markup($node->body[FIELD_LANGUAGE_NONE][0]['summary'], $node->body[FIELD_LANGUAGE_NONE][0]['format']) : $node->body[FIELD_LANGUAGE_NONE][0]['summary'];
           }
           break;
 
