@@ -29,7 +29,7 @@ |
||
29 | 29 | foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->filename)) as $fileInfo) { |
30 | 30 | $basePath = realpath($this->filename); |
31 | 31 | if (in_array(strtolower($fileInfo->getExtension()), ['md', 'mdown', 'markdown'])) { |
32 | - $displayPath = rtrim($this->filename, '/') . str_replace($basePath, '', $fileInfo->getRealPath()); |
|
32 | + $displayPath = rtrim($this->filename, '/').str_replace($basePath, '', $fileInfo->getRealPath()); |
|
33 | 33 | yield $displayPath => $this->readFile($fileInfo->getRealPath()); |
34 | 34 | } |
35 | 35 | } |