Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TOsmanov committed Jul 19, 2024
1 parent 17643be commit ff5e3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foliant/preprocessors/includes.py
Original file line number Diff line number Diff line change
@@ -990,8 +990,8 @@ def process_includes(
else:
self.logger.debug('Local file referenced')

donor_md_path = f"{self.src_dir}/{markdown_file_path.relative_to(os.getcwd()).relative_to(self.working_dir).as_posix()}"
included_file_path = self._get_included_file_path(body.group('path'), markdown_file_path)
donor_md_path = f"{self.src_dir}/{included_file_path.relative_to(os.getcwd()).relative_to(self.working_dir).as_posix()}"

if included_file_path.name.startswith('^'):
included_file_path = self._find_file(

0 comments on commit ff5e3b4

Please sign in to comment.