Skip to content
Browse files

Don't force an ellipsis when generating the content clip.

- If the content length is shorter than the clip length, it makes no sense to display an ellipsis.

See #77
  • Loading branch information
raamdev committed Dec 11, 2015
1 parent 6dbb919 commit 80aab562fb1fe3cdcdb4f10eda7e74c8ea21aa61
@@ -93,7 +93,7 @@
$_comment_time_ago = $plugin->utils_date->approx_time_difference(strtotime($_comment->comment_date_gmt));

// A shorter clip of the full comment message body; in plain text.
$_comment_clip = $plugin->utils_markup->comment_content_clip($_comment, 'notification', true);
$_comment_clip = $plugin->utils_markup->comment_content_clip($_comment, 'notification', false);

// Reply via email marker; if applicable. Only needed for digests, and only if replies via email are enabled currently.
// ~ Note: This marker is not necessary for single comment notifications. A `Reply-To:` header already handles single-comment notifications.

0 comments on commit 80aab56

Please sign in to comment.