From b6820b4f61227d016386f74b494b1be0b19e3412 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 14 Dec 2008 11:19:42 -0500 Subject: trim some output to avoid excessive whitespace darcs-hash:20081214161942-84dde-bfb91a534eb01d3e16b364937dcf405277e75a6a.gz --- lib/rssaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rssaction.php') 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)); -- cgit v1.2.3-54-g00ecf