aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2009-01-18 23:30:17 +0000
committercash <cash.costello@gmail.com>2009-01-18 23:30:17 +0000
commit7fe6c76ecbc54c10a08b33c777be762e8efd3882 (patch)
tree1b498a567ef30a4e7084e254d1a393f74bec9827 /views
parentfdb9fabe369e5cd1139d0318fe7ccbbaba3ee04b (diff)
downloadelgg-7fe6c76ecbc54c10a08b33c777be762e8efd3882.tar.gz
elgg-7fe6c76ecbc54c10a08b33c777be762e8efd3882.tar.bz2
exclude all html tags but links for now
Diffstat (limited to 'views')
-rw-r--r--views/default/widgets/feed_reader/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php
index e1b817116..948ed89cc 100644
--- a/views/default/widgets/feed_reader/view.php
+++ b/views/default/widgets/feed_reader/view.php
@@ -34,7 +34,7 @@
<div class="simplepie_title">
<h4><a href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a></h4>
</div>
- <?php if ($excerpt) echo '<div class="simplepie_excerpt">' . $item->get_description(true) . '</div>'; ?>
+ <?php if ($excerpt) echo '<div class="simplepie_excerpt">' . strip_tags($item->get_description(true),'<a>') . '</div>'; ?>
<?php if ($post_date)
{
?>