fixed svg syntax
This commit is contained in:
parent
a41f42002d
commit
59d2a4624a
2
main.py
2
main.py
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user