From 7d1e15c396f36c261d0c8067fc316f6c3e8e1948 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 23 Jan 2016 01:48:32 +0300 Subject: parser: properly support tag subtrees instead of text content for article content --- classes/feeditem/atom.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/feeditem/atom.php') diff --git a/classes/feeditem/atom.php b/classes/feeditem/atom.php index dfac7149f..e132789ba 100644 --- a/classes/feeditem/atom.php +++ b/classes/feeditem/atom.php @@ -75,7 +75,7 @@ class FeedItem_Atom extends FeedItem_Common { } } - return $content->nodeValue; + return $this->subtree_or_text($content); } } @@ -95,7 +95,7 @@ class FeedItem_Atom extends FeedItem_Common { } } - return $content->nodeValue; + return $this->subtree_or_text($content); } } -- cgit v1.2.3-54-g00ecf