Skip to content

Commit

Permalink
Fix figures when they are inside of a list (#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Puerto authored and mmistakes committed Mar 22, 2019
1 parent 5ed1f79 commit a1ff46c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/figure
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit a1ff46c

Please sign in to comment.