@@ -93,7 +93,7 @@ |
||
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 |