diff options
author | Andrew Dolgov <[email protected]> | 2016-01-23 01:48:32 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-01-23 01:48:32 +0300 |
commit | 7d1e15c396f36c261d0c8067fc316f6c3e8e1948 (patch) | |
tree | 900a332a2b5ddfef8e3c9075570275fc3ef0d05f /classes/feeditem/atom.php | |
parent | d2bb392bae5d3de97e1e99bc810524e149c5c199 (diff) |
parser: properly support tag subtrees instead of text content for article content
Diffstat (limited to 'classes/feeditem/atom.php')
-rw-r--r-- | classes/feeditem/atom.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |