fix(datasheet): unescape braces in .md templates

This commit is contained in:
htfab
2024-05-07 08:47:00 +03:00
committed by Uri Shaked
parent af1f250dba
commit 83c129747b
2 changed files with 20 additions and 14 deletions
+1 -5
View File
@@ -103,11 +103,7 @@ class Docs:
# now build the doc & print it
try:
doc = (
doc_template.replace("__git_url__", "{git_url}")
.replace("__doc_link__", "{doc_link}")
.format(**yaml_data)
)
doc = doc_template.format(**yaml_data)
fh.write(doc)
fh.write("\n\\clearpage\n")
except IndexError: