@@ -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 \sprintf('href="../%s%s"', Page::slugify(PrefixSuffix::sub($matches[1])), $matches[2] ?? ''); |
98 | 98 | }, |
99 | 99 | $this->rendered |
@@ -78,7 +78,7 @@ |
||
78 | 78 | * Apply environment variables. |
79 | 79 | */ |
80 | 80 | $data = $this->getData(); |
81 | - $applyEnv = function ($array) use ($data) { |
|
81 | + $applyEnv = function($array) use ($data) { |
|
82 | 82 | $iterator = new \RecursiveIteratorIterator( |
83 | 83 | new \RecursiveArrayIterator($array), |
84 | 84 | \RecursiveIteratorIterator::SELF_FIRST |