diff options
-rw-r--r-- | 4406.patch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |