Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add RSS 0.9 <description> to get_description. Fixes issue #23

  • Loading branch information...
commit ffaea4387074973fd6ff68708962c83db6a422c8 1 parent 0588784
Ryan McCue rmccue authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 simplepie.inc
5 simplepie.inc
View
@@ -3279,6 +3279,11 @@ class SimplePie_Item
{
return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
}
+ elseif ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_RSS_090, 'description'))
+ {
+ return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_HTML);
+ }
+
elseif (!$description_only)
{
return $this->get_content(true);
Please sign in to comment.
Something went wrong with that request. Please try again.