Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 80aab56
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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.
Expand Down

0 comments on commit 80aab56

Please sign in to comment.