diff options
Diffstat (limited to 'core/functions.php')
-rw-r--r-- | core/functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/functions.php b/core/functions.php index 89ed2f5..91a4006 100644 --- a/core/functions.php +++ b/core/functions.php @@ -307,6 +307,7 @@ function excerpt($string, $length = 500, $replace = ' […]') { $string = removeHTML($string); $string = removeDoubleLineBreaks($string); $string = cut($string, $length, $replace); + $string = trim($string); $string = nl2br($string); return $string; |