Skip to content

Commit 2a33ec8

Browse files
committed
mdbook-latex: Fix incorrect generation of internal links.
1 parent cbd9da5 commit 2a33ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

res/mdbook-latex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ sub create_internal_link {
267267
$base = $1;
268268
$base = $current_directory . $base;
269269
$base = Cwd::abs_path("../../src/" . $base);
270-
$base =~ s|^.+/void-docs/src/||;
270+
$base =~ s|^.+/src/||;
271271
$base =~ s|.md||;
272272
}
273273
$base =~ s|/|-|g;

0 commit comments

Comments
 (0)