diff --git a/libervia/backend/tools/common/template.py b/libervia/backend/tools/common/template.py index ddf7aca4..b9c2f1b7 100644 --- a/libervia/backend/tools/common/template.py +++ b/libervia/backend/tools/common/template.py @@ -1056,6 +1056,8 @@ class Renderer: ) defs_elt = etree.SubElement(svg_elt, "defs") for name in names: + if not name: + continue if "/" in name: raise ValueError("SVG name must not have a `/` in it.") for style_name in ("regular", "brands", "solid"):