summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-06 12:21:01 +0200
committerRemi Collet <remi@remirepo.net>2019-05-06 12:21:01 +0200
commit5b06a1d972fa60417454ea134ed1490ee3130e3b (patch)
treec2db33f9bfc27c7fb2e1dc6be193f0fac7c89f24
parente3b0ee152639b4388b15b78d229107f0caa20e5a (diff)
better
-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;