diff options
author | Andrew Dolgov <[email protected]> | 2016-01-23 01:04:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-01-23 01:04:24 +0300 |
commit | 1383514ad9e7630a3d9627e052780b8fcadab25a (patch) | |
tree | 239f21b4ef9806460e1ad7b2a2f128a636daa7ba /classes/feeditem/atom.php | |
parent | a93047802c459f83c2be9fd6111407a6f7a7aa85 (diff) |
parser: use node->c14n() instead of expecting html in nodeValue
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..7990a61c9 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 $content->c14n(); } } @@ -95,7 +95,7 @@ class FeedItem_Atom extends FeedItem_Common { } } - return $content->nodeValue; + return $content->c14n(); } } |