Skip to content

Commit

Permalink
chore: fix code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Jul 2, 2023
1 parent 94490d4 commit 3db37e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Step/Pages/Render.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ private function postProcessOutput(string $output, Page $page, string $format):
// https://regex101.com/r/ycWMe4/1
'/href="(\/|)([A-Za-z0-9_\.\-\/]+)\.md(\#[A-Za-z0-9_\-]+)?"/is',
function ($matches) use ($page) {
// section spage
// section page
$hrefPattern = 'href="../%s/%s"';
// root page
if (empty($page->getFolder())) {
Expand Down

0 comments on commit 3db37e4

Please sign in to comment.