summaryrefslogtreecommitdiff
path: root/image/svg.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/svg.c')
-rw-r--r--image/svg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/image/svg.c b/image/svg.c
index a233739b7..4df4ed80b 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -93,6 +93,8 @@ void svg_reformat(struct content *c, int width, int height)
svgtiny_parse(c->data.svg.diagram, source_data, source_size,
content__get_url(c), w, h);
+
+ c->data.svg.done_parse = true;
}
c->width = c->data.svg.diagram->width;