diff options
Diffstat (limited to 'views/rss/object/default.php')
-rw-r--r-- | views/rss/object/default.php | 5 |
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 .= " ...";
}
|