]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
http://laconi.ca/trac/ticket/863
authorSarven Capadisli <csarven@controlyourself.ca>
Fri, 12 Jun 2009 16:13:45 +0000 (16:13 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Fri, 12 Jun 2009 16:13:45 +0000 (16:13 +0000)
Thanks to Toby Inkster for the patch.

lib/rssaction.php

index cfb5ca44a663362399d4b1ee245c61537a82b5d5..6f30a02f2195ce2840342a136cdb0c6a00c7f391 100644 (file)
@@ -202,6 +202,9 @@ class Rss10Action extends Action
         $this->element('title', null, $title);
         $this->element('link', null, $nurl);
         $this->element('description', null, $profile->nickname."'s status on ".common_exact_date($notice->created));
+        if ($notice->rendered) {
+            $this->element('content:encoded', null, common_xml_safe_str($notice->rendered));
+        }
         $this->element('dc:date', null, common_date_w3dtf($notice->created));
         $this->element('dc:creator', null, ($profile->fullname) ? $profile->fullname : $profile->nickname);
         $this->element('sioc:has_creator', array('rdf:resource' => $creator_uri));