summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/search/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 376a98842..6c23c1bb4 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -1077,7 +1077,7 @@ function search_excerpt($keys, $text) {
// If we didn't find anything, return the beginning.
if (count($ranges) == 0) {
- return truncate_utf8($text, 256) . ' ...';
+ return truncate_utf8($text, 256, TRUE, TRUE);
}
// Sort the text ranges by starting position.