]> git.wh0rd.org - tt-rss.git/blobdiff - classes/feeditem/atom.php
parser: use node->c14n() instead of expecting html in nodeValue
[tt-rss.git] / classes / feeditem / atom.php
index dfac7149f6cb4981cd6d768dd36e3600b80dd438..7990a61c985dff0fac4d1ef160a8cd9a7aeed356 100644 (file)
@@ -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();
                }
 
        }