diff --git a/_includes/figure b/_includes/figure index 3fb15c0f9623..8e9bdd581d69 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 %}