@@ -92,7 +92,7 @@ |
||
92 | 92 | // https://regex101.com/r/dZ02zO/4 |
93 | 93 | $this->rendered = preg_replace_callback( |
94 | 94 | '/href="\/([A-Za-z0-9_\.\-\/]+)\.md"/is', |
95 | - function ($matches) { |
|
95 | + function($matches) { |
|
96 | 96 | return 'href="/'.Page::slugify(sprintf('%s', $matches[1])).'"'; |
97 | 97 | }, |
98 | 98 | $this->rendered |