We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6098f8b commit 98901d4Copy full SHA for 98901d4
_includes/figure
@@ -1,7 +1,7 @@
1
<figure class="{{ include.class }}">
2
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup"{% if include.caption %} title="{{ include.caption | markdownify | strip_html }}"{% endif %}>{%- endif -%}
3
<img src="{{ include.image_path | relative_url }}"
4
- alt="{% if include.alt %}{{ include.alt }}{% endif %}">
+ alt="{% if include.alt %}{{ include.alt | escape_once }}{% endif %}">
5
{%- if include.popup -%}</a>{%- endif -%}
6
{%- if include.caption -%}
7
<figcaption>
0 commit comments