aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/output.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 19:43:14 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 19:43:14 +0000
commitf0c725f29aeb7e5e9b2d1fc9e846f90cdbb152a3 (patch)
tree8f0741069d515f2577c70ceaae139fdc5ba7df21 /engine/lib/output.php
parent58015438b8253783276dd89581cb6b34d87e6cb4 (diff)
downloadelgg-f0c725f29aeb7e5e9b2d1fc9e846f90cdbb152a3.tar.gz
elgg-f0c725f29aeb7e5e9b2d1fc9e846f90cdbb152a3.tar.bz2
Replacing '...' with html elipse character (&#8230) in elgg_make_excerpt().
git-svn-id: http://code.elgg.org/elgg/trunk@6188 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/output.php')
-rw-r--r--engine/lib/output.php4
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 .= '&#8230';
}
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
+}