aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 16:56:33 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 16:56:33 +0000
commitbfd49157afbdcb8ecc8e204ff7ab2b246d08be57 (patch)
tree4aa38bfe70a4054f9f2fe5645b2d18e9fc7f7c94 /views
parent9d230309a4a8494ec7c409fd045def5ab918c378 (diff)
downloadelgg-bfd49157afbdcb8ecc8e204ff7ab2b246d08be57.tar.gz
elgg-bfd49157afbdcb8ecc8e204ff7ab2b246d08be57.tar.bz2
RSS for group topics, including fixes for annotation getURL() override
git-svn-id: https://code.elgg.org/elgg/trunk@2898 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/rss/object/default.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/rss/object/default.php b/views/rss/object/default.php
index 9174ff1b5..5e50971c9 100644
--- a/views/rss/object/default.php
+++ b/views/rss/object/default.php
@@ -13,8 +13,9 @@
$title = $vars['entity']->title;
if (empty($title)) {
- $title = substr($vars['entity']->description,0,32);
- if (strlen($vars['entity']->description) > 32)
+ $subtitle = strip_tags($vars['entity']->description);
+ $title = substr($subtitle,0,32);
+ if (strlen($subtitle) > 32)
$title .= " ...";
}