Merge pull request #779 from dedulay/patch-1

Refactor code
This commit is contained in:
Mark Baker 2015-12-31 23:22:50 +00:00
commit de3aaa3726

View File

@ -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();