diff options
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>
|