aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/img.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/img.html')
-rw-r--r--templates/shortcodes/img.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html
index 108b16c..ed84aa5 100644
--- a/templates/shortcodes/img.html
+++ b/templates/shortcodes/img.html
@@ -46,4 +46,4 @@
{%- endif %}
{%- if caption %}<figure class="fi{% if class %} {{class}}{% endif %}">{% endif -%}
{%- if link %}<a href="{{link | safe}}">{% endif %}<img src="{{ path | safe }}{{ img | safe }}"{% if class %} class="{{class}}"{% endif %}{% if alt %} alt="{{alt}}"{% endif %}{% if w %} width="{{w}}"{% endif %}{% if h %} height="{{h}}"{% endif %} loading="lazy" />{% if link %}</a>{% endif -%}
-{%- if caption %}<figcaption>{{caption}}</figcaption></figure>{%- endif %}
+{%- if caption %}<figcaption>{{ caption | safe }}</figcaption></figure>{%- endif %}