diff options
Diffstat (limited to 'classes/feeditem/rss.php')
-rw-r--r-- | classes/feeditem/rss.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/classes/feeditem/rss.php b/classes/feeditem/rss.php index 95f3acdeb..27a364b81 100644 --- a/classes/feeditem/rss.php +++ b/classes/feeditem/rss.php @@ -71,16 +71,17 @@ class FeedItem_RSS extends FeedItem_Common { $contentB = $this->elem->getElementsByTagName("description")->item(0); if ($contentA && !$contentB) { - return $contentA->c14n(); + return $contentA->nodeValue; } + if ($contentB && !$contentA) { - return $contentB->c14n(); + return $contentB->nodeValue; } if ($contentA && $contentB) { return mb_strlen($contentA->nodeValue) > mb_strlen($contentB->nodeValue) ? - $contentA->c14n() : $contentB->c14n(); + $contentA->nodeValue : $contentB->nodeValue; } } @@ -88,7 +89,7 @@ class FeedItem_RSS extends FeedItem_Common { $summary = $this->elem->getElementsByTagName("description")->item(0); if ($summary) { - return $summary->c14n(); + return $summary->nodeValue; } } |