diff --git a/weasyprint/svg/__init__.py b/weasyprint/svg/__init__.py index 9501a48af..8d9b71f03 100644 --- a/weasyprint/svg/__init__.py +++ b/weasyprint/svg/__init__.py @@ -396,7 +396,7 @@ def draw(self, stream, concrete_width, concrete_height, base_url, def draw_node(self, node, font_size, fill_stroke=True): """Draw a node.""" - if node.tag == 'defs': + if node.tag in ('defs', 'symbol'): return # Update font size