Passed
Push — fix-md-links ( b3757d )
by Arnaud
05:57
created
src/Renderer/Twig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         // https://regex101.com/r/dZ02zO/5
96 96
         $this->rendered = preg_replace_callback(
97 97
             '/href="([A-Za-z0-9_\.\-\/]+)\.md(\#[A-Za-z0-9\-]+)?"/is',
98
-            function ($matches) {
98
+            function($matches) {
99 99
                 return \sprintf('href="../%s%s/"', Page::slugify(PrefixSuffix::sub($matches[1])), $matches[2] ?? '');
100 100
             },
101 101
             $this->rendered
Please login to merge, or discard this patch.