Merge a281bee7d69f5347500e96e9df572e9ac5e7af15 into 99816b0b8ef958d232956e17ec766ce84a536bc1
This commit is contained in:
commit
fb24eaf89f
@ -124,6 +124,10 @@ class XLSX implements EscaperInterface
|
||||
*/
|
||||
protected function escapeControlCharacters($string)
|
||||
{
|
||||
if (1 !== preg_match('~[^A-Za-z0-9\-.:, ]~', $string)) {
|
||||
return $string;
|
||||
}
|
||||
|
||||
$escapedString = $this->escapeEscapeCharacter($string);
|
||||
|
||||
// if no control characters
|
||||
|
Loading…
x
Reference in New Issue
Block a user