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