Skip to content

Commit 82165eb

Browse files
committed
Added the u modifier to fix #4
1 parent cb3f3d5 commit 82165eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Diff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function toArray() : array
234234
*/
235235
public static function splitLines(string $string) : array
236236
{
237-
$split = preg_split('/\R/', $string);
237+
$split = preg_split('/\R/u', $string);
238238

239239
if(is_array($split))
240240
{

0 commit comments

Comments
 (0)