diff --git a/src/PhpWord/Reader/Word2007/AbstractPart.php b/src/PhpWord/Reader/Word2007/AbstractPart.php index 9d49573d69..77142a5fe6 100644 --- a/src/PhpWord/Reader/Word2007/AbstractPart.php +++ b/src/PhpWord/Reader/Word2007/AbstractPart.php @@ -233,6 +233,8 @@ protected function readParagraph(XMLReader $xmlReader, DOMElement $domNode, $par } } } + + return; } elseif ($xmlReader->elementExists('w:r/w:instrText', $domNode)) { // PreserveText $ignoreText = false;