diff --git a/_includes/figure b/_includes/figure index f1ce1ebc..dacc668d 100644 --- a/_includes/figure +++ b/_includes/figure @@ -1,9 +1,9 @@
{% if include.alt %}{{ include.alt }}{% endif %} - {% if include.caption %} + {%- if include.caption -%}
{{ include.caption | markdownify | remove: "

" | remove: "

" }}
- {% endif %} + {%- endif -%}