summaryrefslogtreecommitdiffstatshomepage
path: root/templates/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes')
-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 6b4eca4..b339382 100644
--- a/templates/shortcodes/img.html
+++ b/templates/shortcodes/img.html
@@ -4,6 +4,6 @@
<img src="{{ resize_image(path=url, width=500, op="fit_width", format=format | default(value="jpg")) }}" alt="{{ alt }}" />
</a>
{% if caption -%}
- <figcaption class="smaller">{{ caption }}</figcaption>
+ <figcaption class="smaller">{{ caption | markdown(inline=true) | safe }}</figcaption>
{% endif -%}
</figure>