@@ -1274,7 +1274,7 @@ discard block |
||
1274 | 1274 | |
1275 | 1275 | // Convert UTF8 data to PCDATA |
1276 | 1276 | $cellText = $element->getText(); |
1277 | - $cellData .= ($this->encodeHtml)?htmlspecialchars($cellText):$cellText; |
|
1277 | + $cellData .= ($this->encodeHtml) ?htmlspecialchars($cellText) : $cellText; |
|
1278 | 1278 | |
1279 | 1279 | if ($element instanceof Run) { |
1280 | 1280 | if ($element->getFont()->getSuperscript()) { |
@@ -1300,7 +1300,7 @@ discard block |
||
1300 | 1300 | [$this, 'formatColor'] |
1301 | 1301 | ); |
1302 | 1302 | } |
1303 | - $cellData = ($this->encodeHtml)?htmlspecialchars($cellData):$cellData; |
|
1303 | + $cellData = ($this->encodeHtml) ?htmlspecialchars($cellData) : $cellData; |
|
1304 | 1304 | if ($pSheet->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont()->getSuperscript()) { |
1305 | 1305 | $cellData = '<sup>' . $cellData . '</sup>'; |
1306 | 1306 | } elseif ($pSheet->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont()->getSubscript()) { |