--- comment_notify.module (revision 466) +++ comment_notify.module (revision 471) @@ -399,13 +399,13 @@ variable_get('node_notify_default_mailtext', AUTHOR_MAILTEXT), array( '!commname' => $comment->name, - '!commtext' => $comment->comment, + '!commtext' => drupal_html_to_text($comment->comment), '!commsubj' => $comment->subject, '!comment_url' => url('node/'. $nid, array('absolute' => TRUE, 'fragment' => 'comment-'. $cid)), '!node_title' => $node->title, - '!node_teaser' => $node->teaser, + '!node_teaser' => drupal_html_to_text($node->teaser), '!mission' => variable_get('site_mission', ''), - '!node_body' => $node->body, + '!node_body' => drupal_html_to_text($node->body), '!name' => $author->name, '!site' => variable_get('site_name', 'drupal'), '!uri' => $base_url, @@ -448,20 +448,20 @@ variable_get('comment_notify_default_mailtext', DEFAULT_MAILTEXT), array( '!commname' => $comment->name, - '!commtext' => $comment->comment, + '!commtext' => drupal_html_to_text($comment->comment), '!commsubj' => $comment->subject, '!comment_url' => url('node/'. $nid, array('absolute' => TRUE, 'fragment' => 'comment-'. $cid)), '!node_title' => $node->title, - '!node_teaser' => $node->teaser, + '!node_teaser' => drupal_html_to_text($node->teaser), '!mission' => variable_get('site_mission', ''), - '!node_body' => $node->body, + '!node_body' => drupal_html_to_text($node->body), '!name' => $alert->name, '!site' => variable_get('site_name', 'drupal'), '!uri' => $base_url, '!uri_brief' => preg_replace('!^https?://!', '', $base_url), '!date' => format_date(time()), '!login_uri' => url('user', array('absolute' => TRUE)), '!link1' => url('comment_notify/disable/'. $alert->notify_hash, array('absolute' => TRUE)) ) );