mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
bugfix - some rss feeds were breaking newsfeed layout.
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/newsfeed_functions.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/newsfeed_functions.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:35:31 $
|
| $Date: 2007-02-07 23:28:17 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -169,7 +169,7 @@ if(!function_exists("newsfeed_info"))
|
|||||||
{
|
{
|
||||||
$item = $item_total[$i];
|
$item = $item_total[$i];
|
||||||
$FEEDITEMLINK = "<a href='".$item['link']."' rel='external'>".$tp -> toHTML($item['title'], TRUE)."</a>\n";
|
$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);
|
$FEEDITEMTEXT = $tp->text_truncate($feeditemtext, $truncate, $truncate_string);
|
||||||
|
|
||||||
$FEEDITEMCREATOR = $tp -> toHTML($item['author'], TRUE);
|
$FEEDITEMCREATOR = $tp -> toHTML($item['author'], TRUE);
|
||||||
|
Reference in New Issue
Block a user