Skip to content

Commit

Permalink
fix: remove duplicate of paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
voodooizh committed Nov 14, 2024
1 parent feadceb commit 2aae2ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PhpWord/Reader/Word2007/AbstractPart.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ protected function readParagraph(XMLReader $xmlReader, DOMElement $domNode, $par
}
}
}

return;
} elseif ($xmlReader->elementExists('w:r/w:instrText', $domNode)) {
// PreserveText
$ignoreText = false;
Expand Down

0 comments on commit 2aae2ef

Please sign in to comment.