From e0c3bf5a75094937315aa09dd9635833f9eb2925 Mon Sep 17 00:00:00 2001 From: zach Date: Tue, 4 Nov 2008 03:40:27 -0500 Subject: Better UTF-8 escaped entity handling. Fixed bad chars in all RSS feeds. darcs-hash:20081104084027-462f3-ea7ab93938358bf90a1c1851d6f665973beae767.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 76859a876..0152f25bc 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 . ': ' . $notice->content; + $title = $profile->nickname . ': ' . common_xml_safe_str($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