fix(convert): relative path in HTML files (#136)

This fixes an error introduced by #133
This commit is contained in:
Jérome Eertmans
2023-02-26 00:11:12 +01:00
committed by GitHub
parent 3cb0085f24
commit a70876d696

View File

@ -333,7 +333,7 @@ class RevealJS(Converter):
presentation_config.concat_animations().copy_to(full_assets_dir)
with open(dest, "w") as f:
sections = "".join(self.get_sections_iter(full_assets_dir))
sections = "".join(self.get_sections_iter(assets_dir))
revealjs_template = self.load_template()
content = revealjs_template.format(sections=sections, **self.dict())