From e4734e05cae187e797d50fa0f2e43418cc9419cf Mon Sep 17 00:00:00 2001 From: Rian McGuire Date: Wed, 1 Sep 2021 12:32:04 +1000 Subject: [PATCH] Fix marker-start being drawn on mid vertices --- weasyprint/svg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weasyprint/svg/__init__.py b/weasyprint/svg/__init__.py index 605737cf0..67c793158 100644 --- a/weasyprint/svg/__init__.py +++ b/weasyprint/svg/__init__.py @@ -572,7 +572,7 @@ def draw_markers(self, node, font_size, fill_stroke): self.draw_node(child, font_size, fill_stroke) self.stream.pop_state() - position = 'mid' if angles else 'start' + position = 'mid' if angles else 'start' @staticmethod def get_paint(value):