diff options
author | Remi Collet <remi@remirepo.net> | 2019-05-06 12:21:01 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-05-06 12:21:01 +0200 |
commit | 5b06a1d972fa60417454ea134ed1490ee3130e3b (patch) | |
tree | c2db33f9bfc27c7fb2e1dc6be193f0fac7c89f24 | |
parent | e3b0ee152639b4388b15b78d229107f0caa20e5a (diff) |
better
-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; |