We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c67827 commit 32c0119Copy full SHA for 32c0119
src/PHPFUI/InstaDoc/Section/File.php
@@ -14,7 +14,7 @@ public function generate(\PHPFUI\Page $page, string $fullClassPath) : \PHPFUI\Co
14
$page->addStyleSheet("/css/Highlight/{$parameters['CSS']}.css");
15
$page->addCSS("code{tab-size:{$parameters['t']};-moz-tab-size:{$parameters['t']}}");
16
$hl = new \Highlight\Highlighter();
17
- $php = file_get_contents($fullClassPath);
+ $php = file_get_contents(str_replace('\\', '/', $fullClassPath));
18
19
// Highlight some code.
20
$highlighted = $hl->highlight('php', $php);
0 commit comments