mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Must run description through toRSS before substr
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2007-05-30 19:25:27 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2008-02-18 01:58:07 $
|
||||
| $Author: mcfly_e107 $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@@ -402,7 +402,7 @@ class rssCreate {
|
||||
echo "
|
||||
<item>
|
||||
<title>".$tp->toRss($value['title'])."</title>
|
||||
<description>".$tp->toRss(substr($value['description'],0,150))."</description>
|
||||
<description>".substr($tp->toRss($value['description']),0,150)."</description>
|
||||
<author>".$value['author']."<".$this->nospam($value['author_email'])."></author>
|
||||
<link>".$link."</link>
|
||||
</item>";
|
||||
|
Reference in New Issue
Block a user