1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

bugfix - some rss feeds were breaking newsfeed layout.

This commit is contained in:
CaMer0n 2007-02-07 23:28:17 +00:00
parent 267a66f075
commit 944dce5102

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/newsfeed_functions.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:31 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-02-07 23:28:17 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -169,7 +169,7 @@ if(!function_exists("newsfeed_info"))
{
$item = $item_total[$i];
$FEEDITEMLINK = "<a href='".$item['link']."' rel='external'>".$tp -> toHTML($item['title'], TRUE)."</a>\n";
$feeditemtext = preg_replace("#\[[a-z0-9=]+\]|\[\/[a-z]+\]|\{[A-Z_]+\}#si", "", $item['description']);
$feeditemtext = preg_replace("#\[[a-z0-9=]+\]|\[\/[a-z]+\]|\{[A-Z_]+\}#si", "", strip_tags($item['description']));
$FEEDITEMTEXT = $tp->text_truncate($feeditemtext, $truncate, $truncate_string);
$FEEDITEMCREATOR = $tp -> toHTML($item['author'], TRUE);