diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 19:43:14 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 19:43:14 +0000 |
commit | f0c725f29aeb7e5e9b2d1fc9e846f90cdbb152a3 (patch) | |
tree | 8f0741069d515f2577c70ceaae139fdc5ba7df21 | |
parent | 58015438b8253783276dd89581cb6b34d87e6cb4 (diff) | |
download | elgg-f0c725f29aeb7e5e9b2d1fc9e846f90cdbb152a3.tar.gz elgg-f0c725f29aeb7e5e9b2d1fc9e846f90cdbb152a3.tar.bz2 |
Replacing '...' with html elipse character (…) in elgg_make_excerpt().
git-svn-id: http://code.elgg.org/elgg/trunk@6188 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/output.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/output.php b/engine/lib/output.php index d2b76a482..b2eb532ca 100644 --- a/engine/lib/output.php +++ b/engine/lib/output.php @@ -112,7 +112,7 @@ function elgg_make_excerpt($text, $num_chars = 250) { $excerpt = trim(elgg_substr($excerpt, 0, $space)); if ($string_length != elgg_strlen($excerpt)) { - $excerpt .= '...'; + $excerpt .= '…'; } return $excerpt; @@ -147,4 +147,4 @@ function friendly_title($title) { */ function friendly_time($time) { return elgg_view('output/friendlytime', array('time' => $time)); -}
\ No newline at end of file +} |