diff --git a/Parser/Atom.php b/Parser/Atom.php index 203954b..fdc66b2 100644 --- a/Parser/Atom.php +++ b/Parser/Atom.php @@ -263,7 +263,7 @@ protected function parseTextConstruct(DOMNode $content) switch ($type) { case 'text': case 'html': - return $content->nodeValue; + return $content->textContent; break; case 'xhtml': $container = $content->getElementsByTagName('div');