diff --git a/src/wireviz/templates/din-6771.html b/src/wireviz/templates/din-6771.html index 547a340c..1aab000d 100644 --- a/src/wireviz/templates/din-6771.html +++ b/src/wireviz/templates/din-6771.html @@ -179,7 +179,7 @@
-
+
diff --git a/src/wireviz/wv_html.py b/src/wireviz/wv_html.py index 763da9d7..ccbf3bab 100644 --- a/src/wireviz/wv_html.py +++ b/src/wireviz/wv_html.py @@ -85,6 +85,7 @@ def generate_html_output( "": bom_html_reversed, "": "1", # TODO: handle multi-page documents "": "1", # TODO: handle multi-page documents + "": metadata.get("template", {}).get("sheetsize", ""), } # prepare metadata replacements @@ -101,11 +102,6 @@ def generate_html_output( html_line_breaks(str(entry_value)) ) - replacements['"sheetsize_default"'] = '"{}"'.format( - metadata.get("template", {}).get("sheetsize", "") - ) - # include quotes so no replacement happens within