Skip to content

Commit b9a9312

Browse files
committed
fix: remove 0x09, 0x0a, 0x0d characters from list of control characters.
this fixes an issue where excel complains about "unreadable content" if a cell contains a "\n". these characters were originally excluded from the list, but were added by mistake in commit 250394d.
1 parent b79b77c commit b9a9312

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/PhpSpreadsheet/Shared/StringHelper.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ class StringHelper
1919
"\x06",
2020
"\x07",
2121
"\x08",
22-
"\x09",
23-
"\x0a",
2422
"\x0b",
2523
"\x0c",
26-
"\x0d",
2724
"\x0e",
2825
"\x0f",
2926
"\x10",
@@ -53,11 +50,8 @@ class StringHelper
5350
'_x0006_',
5451
'_x0007_',
5552
'_x0008_',
56-
'_x0009_',
57-
'_x000A_',
5853
'_x000B_',
5954
'_x000C_',
60-
'_x000D_',
6155
'_x000E_',
6256
'_x000F_',
6357
'_x0010_',

0 commit comments

Comments
 (0)