Fix figures when they are inside of a list (#2094)

This commit is contained in:
Luis Puerto 2019-03-22 21:05:48 +01:00 committed by Michael Rose
parent 5ed1f79557
commit a1ff46cc59

View file

@ -7,6 +7,6 @@
{% endif %} {% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}"> alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %} {% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption> <figcaption>
{% endif %} {{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
</figure> </figcaption>{% endif %}</figure>