Skip to content

Commit 60734dd

Browse files
authored
Merge pull request #2277 from amir9480/patch-1
Add softhyphen support to Word2007 Reader
2 parents a379577 + ed8d9ff commit 60734dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PhpWord/Reader/Word2007/AbstractPart.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ protected function readRunChild(XMLReader $xmlReader, DOMElement $node, Abstract
323323
$element->setChangeInfo($type, $author, $date);
324324
}
325325
}
326+
} elseif ($node->nodeName == 'w:softHyphen') {
327+
$element = $parent->addText("\u{200c}", $fontStyle, $paragraphStyle);
326328
}
327329
}
328330

0 commit comments

Comments
 (0)