]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
exclude all html tags but links for now
authorcash <cash.costello@gmail.com>
Sun, 18 Jan 2009 23:30:17 +0000 (23:30 +0000)
committercash <cash.costello@gmail.com>
Sun, 18 Jan 2009 23:30:17 +0000 (23:30 +0000)
views/default/widgets/feed_reader/view.php

index e1b8171169dd0aaf1debaf2050559a7649d42094..948ed89cc45501ac07218b809101a5cb3af8714e 100644 (file)
@@ -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) 
             {
       ?>