summaryrefslogtreecommitdiffstats
path: root/4406.patch
diff options
context:
space:
mode:
Diffstat (limited to '4406.patch')
-rw-r--r--4406.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/4406.patch b/4406.patch
index 48f04f0..e1c643f 100644
--- a/4406.patch
+++ b/4406.patch
@@ -16,7 +16,7 @@ index 1db72935b0..a3a24a8cb7 100644
for ($previous = $index - 1; $previous > 0; --$previous) {
$token = $tokens[$previous];
- if ($token->isWhitespace() && Preg::match('/(\R[^\R]*)$/', $token->getContent(), $matches)) {
-+ if ($token->isWhitespace() && Preg::match('/(\R[^\n\r]*)$/', $token->getContent(), $matches)) {
++ if ($token->isWhitespace() && Preg::match('/(\R\N*)$/', $token->getContent(), $matches)) {
$whitespace = $matches[1];
break;