We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6848f80 commit c58ea5eCopy full SHA for c58ea5e
src/PhpWord/Writer/RTF/Element/PreserveText.php
@@ -44,7 +44,7 @@ public function write()
44
$content .= $this->writeOpening();
45
$content .= '{';
46
$content .= $this->writeFontStyle();
47
- if(is_array($element->getText())) {
+ if (is_array($element->getText())) {
48
foreach ($element->getText() as $text) {
49
if (preg_match('/[{}]/', $text) == 1) {
50
$text = str_replace(['{', '}'], '', $text);
0 commit comments