fix(datasheet): unescape braces in .md templates

This commit is contained in:
htfab
2024-05-06 23:21:17 +03:00
committed by Uri Shaked
parent 96e1ab948e
commit d490f49edb
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: