fixed svg syntax

This commit is contained in:
Surferlul 2023-10-10 05:32:32 +02:00
parent a41f42002d
commit 59d2a4624a

View File

@ -54,7 +54,7 @@ def main() -> None:
if svg is None: if svg is None:
replace_dict[f"[[{draw}]]"] = "<h1 style='color: #ff0000'>MISSING IMAGE</h1>" replace_dict[f"[[{draw}]]"] = "<h1 style='color: #ff0000'>MISSING IMAGE</h1>"
else: else:
replace_dict[f"[[{draw}]]"] = f"![]({svg})]" replace_dict[f"[[{draw}]]"] = f"![]({svg})"
for page in pages: for page in pages:
with open(page) as f: with open(page) as f: