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 %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
<figcaption>
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
</figcaption>{% endif %}</figure>