From c09ae77f4c971bab6b2293b6d0b9df9b025569f7 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 16 Jul 2010 10:16:13 +0000 Subject: elgg_make_excerpt() uses elgg_strip_tags(). git-svn-id: http://code.elgg.org/elgg/trunk@6724 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/output.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/output.php b/engine/lib/output.php index 461f34057..06fa44ead 100644 --- a/engine/lib/output.php +++ b/engine/lib/output.php @@ -98,7 +98,7 @@ function autop($pee, $br = 1) { * @since 1.7.2 */ function elgg_make_excerpt($text, $num_chars = 250) { - $text = trim(strip_tags($text)); + $text = trim(elgg_strip_tags($text)); $string_length = elgg_strlen($text); if ($string_length <= $num_chars) { @@ -152,7 +152,7 @@ function friendly_title($title) { function friendly_time($time) { return elgg_view('output/friendlytime', array('time' => $time)); } - +elgg_make_excerpt($text) /** * Strip tags and offer plugins the chance. * Plugins register for output:strip_tags plugin hook. -- cgit v1.2.3