Skip to content

Commit f5f1ea3

Browse files
authored
Removed comments
1 parent 1bd6155 commit f5f1ea3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/PhpWord/Reader/Word2007/AbstractPart.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ protected function readParagraph(XMLReader $xmlReader, DOMElement $domNode, $par
151151
} elseif ($headingDepth !== null) {
152152
// Heading or Title
153153
$textContent = null;
154-
// 2023-08-02 hannes@dorn.cc
155-
// $nodes = $xmlReader->getElements('w:r', $domNode);
156-
// delivers only text paragraphs, but no hyperlinks
157-
// I extended xpath with w:hyperlink
158154
$nodes = $xmlReader->getElements('w:r|w:hyperlink', $domNode);
159155
if ($nodes->length === 1) {
160156
$textContent = htmlspecialchars($xmlReader->getValue('w:t', $nodes->item(0)), ENT_QUOTES, 'UTF-8');

0 commit comments

Comments
 (0)