summaryrefslogtreecommitdiff
path: root/lib/rssaction.php
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-11-04 03:40:27 -0500
committerzach <zach@controlyourself.ca>2008-11-04 03:40:27 -0500
commite0c3bf5a75094937315aa09dd9635833f9eb2925 (patch)
treeadf16114472da53b4a5dcad854ff81bf366c1226 /lib/rssaction.php
parent485247e9011e08a6ff0b9a2ff3d7a60bad515a26 (diff)
Better UTF-8 escaped entity handling. Fixed bad chars in all RSS feeds.
darcs-hash:20081104084027-462f3-ea7ab93938358bf90a1c1851d6f665973beae767.gz
Diffstat (limited to 'lib/rssaction.php')
-rw-r--r--lib/rssaction.php2
1 files changed, 1 insertions, 1 deletions
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));