Skip to content

Commit

Permalink
Fix figures when they are inside of a list (mmistakes#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 5a41639 commit ec56dcc
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 ec56dcc

Please sign in to comment.