diff --git a/signature_forum.module b/signature_forum.module
index a61f3ec..4e66def 100644
--- a/signature_forum.module
+++ b/signature_forum.module
@@ -636,7 +636,14 @@ function signature_forum_comment_view($comment, $view_mode, $langcode) {
       );
      $body = field_get_items('comment', $comment, 'comment_body', $langcode);
       if ($body) {
-        $comment->content['signature_forum']['#content_length'] = drupal_strlen(strip_tags($body[0]['safe_value']));
+        // Some body fields appear not to have a 'safe_value'.
+        if (!empty($body[0]['safe_value'])) {
+          $content = $body[0]['safe_value'];
+        }
+        else {
+          $content = $body[0]['value'];
+        }
+        $comment->content['signature_forum']['#content_length'] = drupal_strlen($content);
       }
       else {
         $comment->content['signature_forum']['#content_length'] = 0;
