diff --git a/functions.php b/functions.php index 044b0162a..3249a5d7b 100644 --- a/functions.php +++ b/functions.php @@ -5229,7 +5229,14 @@ print "
"; - print truncate_string(strip_tags($line["content_preview"]), 100); + + $content_preview = trim(truncate_string(strip_tags($line["content_preview"]), 100)); + + if (strlen($content_preview) != 0) { + print $content_preview; + } else { + print __('Click to expand article'); + } print "
"; }