diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 12:14:55 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 12:14:55 +0000 |
commit | a50a1937ca193ca10553e93c609351a396fe4942 (patch) | |
tree | 8e363053afa6d94e12caa2dd0283067b7ed97788 /views/rss | |
parent | 961fc5a437c8d458884560485864d057aa807a25 (diff) | |
download | elgg-a50a1937ca193ca10553e93c609351a396fe4942.tar.gz elgg-a50a1937ca193ca10553e93c609351a396fe4942.tar.bz2 |
Added the autop function, replaced any references to nl2br
git-svn-id: https://code.elgg.org/elgg/trunk@1468 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/rss')
-rw-r--r-- | views/rss/object/default.php | 2 | ||||
-rw-r--r-- | views/rss/user/default.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/rss/object/default.php b/views/rss/object/default.php index 7c5fc11d8..38732750a 100644 --- a/views/rss/object/default.php +++ b/views/rss/object/default.php @@ -25,5 +25,5 @@ <pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
<link><?php echo $vars['entity']->getURL(); ?></link>
<title><![CDATA[<?php echo $title; ?>]]></title>
- <description><![CDATA[<?php echo (nl2br($vars['entity']->description)); ?>]]></description>
+ <description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
</item>
diff --git a/views/rss/user/default.php b/views/rss/user/default.php index 5d72b30df..edc8bcd17 100644 --- a/views/rss/user/default.php +++ b/views/rss/user/default.php @@ -17,6 +17,6 @@ <guid isPermaLink='true'><?php echo $vars['entity']->getURL(); ?></guid>
<pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
<link><?php echo $vars['entity']->getURL(); ?></link>
- <title><![CDATA[<?php echo (nl2br($vars['entity']->name)); ?>]]></title>
- <description><![CDATA[<?php echo (nl2br($vars['entity']->description)); ?>]]></description>
+ <title><![CDATA[<?php echo (autop($vars['entity']->name)); ?>]]></title>
+ <description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
</item>
|