mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 05:16:06 +03:00
Refactor code
PHPExcel/Helper/HTML.php:769:Parse error - syntax error, unexpected '[', expecting ')'
This commit is contained in:
parent
a27e053354
commit
2221c5ed12
@ -766,7 +766,7 @@ class PHPExcel_Helper_HTML
|
||||
$domText = preg_replace(
|
||||
'/\s+/u',
|
||||
' ',
|
||||
str_replace(["\r", "\n"], ' ', $textNode->nodeValue)
|
||||
str_replace(array("\r", "\n"), ' ', $textNode->nodeValue)
|
||||
);
|
||||
$this->stringData .= $domText;
|
||||
$this->buildTextRun();
|
||||
|
Loading…
Reference in New Issue
Block a user