diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-12-14 11:19:42 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-12-14 11:19:42 -0500 |
commit | b6820b4f61227d016386f74b494b1be0b19e3412 (patch) | |
tree | 283861011ca627218743e4a39125ccb5d1257450 /lib/rssaction.php | |
parent | aa4fb6b71e552e00f8ca83aded7bf39539f8b456 (diff) |
trim some output to avoid excessive whitespace
darcs-hash:20081214161942-84dde-bfb91a534eb01d3e16b364937dcf405277e75a6a.gz
Diffstat (limited to 'lib/rssaction.php')
-rw-r--r-- | lib/rssaction.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php index e72871556..777511506 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -123,7 +123,7 @@ class Rss10Action extends Action { $nurl = common_local_url('shownotice', array('notice' => $notice->id)); $creator_uri = common_profile_uri($profile); common_element_start('item', array('rdf:about' => $notice->uri)); - $title = $profile->nickname . ': ' . common_xml_safe_str($notice->content); + $title = $profile->nickname . ': ' . common_xml_safe_str(trim($notice->content)); common_element('title', NULL, $title); common_element('link', NULL, $nurl); common_element('description', NULL, $profile->nickname."'s status on ".common_exact_date($notice->created)); |