diff --git a/weasyprint/svg/__init__.py b/weasyprint/svg/__init__.py index b164e05eb..245cd182b 100644 --- a/weasyprint/svg/__init__.py +++ b/weasyprint/svg/__init__.py @@ -81,6 +81,7 @@ 'mask', 'path', 'pattern', + 'symbol', )) @@ -390,7 +391,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 in ('defs', 'symbol'): + if node.tag == 'defs': return # Update font size