diff options
| author | Richard Mortier | 2025-05-15 17:11:31 +0100 |
|---|---|---|
| committer | GitHub | 2025-05-15 09:11:31 -0700 |
| commit | 55c8f7c218a16b8790cc72468ef35efa7293bee3 (patch) | |
| tree | 7fa9a1265e66ea8aaf7ab32d19e187e4b8e633c2 | |
| parent | a1bf4ac02c14c6fa07e8a72817c639854172fe9e (diff) | |
| download | abridge-55c8f7c218a16b8790cc72468ef35efa7293bee3.tar.gz abridge-55c8f7c218a16b8790cc72468ef35efa7293bee3.tar.bz2 abridge-55c8f7c218a16b8790cc72468ef35efa7293bee3.zip | |
closes #221 (#222)
| -rw-r--r-- | templates/shortcodes/img.html | 2 |
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 %} |
