diff --git a/_includes/figure b/_includes/figure
index 3fb15c0f..8e9bdd58 100644
--- a/_includes/figure
+++ b/_includes/figure
@@ -7,6 +7,6 @@
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
- {{ include.caption | markdownify | remove: "" | remove: "
" }}
- {% endif %}
-
+
+ {{ include.caption | markdownify | remove: "" | remove: "
" }}
+ {% endif %}