]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/rssaction.php
Twitter-compatible API - since_id and before_id were polluting the cache and generati...
[quix0rs-gnu-social.git] / lib / rssaction.php
index 76859a876ad0d31b3841ca02ad70da72d31e140d..0152f25bc76acc9ff7a3edd44df484ff22eabc4b 100644 (file)
@@ -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));