mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-11-02 09:17:38 +00:00
Additional regexp handling for UTF-8 strings
This commit is contained in:
@@ -723,7 +723,7 @@ class PHPExcel_Helper_HTML
|
||||
}
|
||||
|
||||
protected function parseTextNode(DOMText $textNode) {
|
||||
$domText = preg_replace('/\s+/', ' ', ltrim($textNode->nodeValue));
|
||||
$domText = preg_replace('/\s+/u', ' ', ltrim($textNode->nodeValue));
|
||||
$this->stringData .= $domText;
|
||||
$this->buildTextRun();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user