From a1ff46cc590f043166637d9b9f52281a48976596 Mon Sep 17 00:00:00 2001 From: Luis Puerto Date: Fri, 22 Mar 2019 21:05:48 +0100 Subject: [PATCH] Fix figures when they are inside of a list (#2094) --- _includes/figure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 %}