Completed
Push — markdown-link ( 0b5491...61b53c )
by Arnaud
08:07 queued 06:29
created
src/Renderer/Twig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
         // https://regex101.com/r/dZ02zO/5
94 94
         $this->rendered = preg_replace_callback(
95 95
             '/href="([A-Za-z0-9_\.\-\/]+)\.md(\#[A-Za-z0-9\-]+)?"/is',
96
-            function ($matches) {
96
+            function($matches) {
97 97
                 return 'href="../'.Page::slugify(PrefixSuffix::sub(sprintf('%s', $matches[1]))).$matches[2].'"';
98 98
             },
99 99
             $this->rendered
Please login to merge, or discard this patch.