diff --git a/svglib/svg.py b/svglib/svg.py index ec45a26..e53e102 100644 --- a/svglib/svg.py +++ b/svglib/svg.py @@ -230,7 +230,7 @@ def to_str(self, fill=False, with_points=False, with_handles=False, with_bboxes= viz_elements = self._get_viz_elements(with_points, with_handles, with_bboxes, color_firstlast, with_moves) newline = "\n" return ( - f'' + f'' f'{self._markers() if with_markers else ""}' f'{newline.join(svg_path_group.to_str(fill=fill, with_markers=with_markers) for svg_path_group in [*self.svg_path_groups, *viz_elements])}' '')