summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-05-09 11:17:11 +0800
committerEltrac <hi@guhub.cn>2025-05-09 11:17:11 +0800
commitf9427388bf0f61017ad07d30a96631ea2189e7c3 (patch)
treeca4ca4db6a5f321a666fe6ce179296800f26eb26
parent5a8e2bfb3f63de51c36af989381f55e4b288cc98 (diff)
fix: gallery shortcode not rendering inner markdown image
Former-commit-id: bb99ada985735ec2e4ee2eb9a80427886b8d7309
-rw-r--r--layouts/shortcodes/gallery.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html
index a6e4d1b5..67de9e0e 100644
--- a/layouts/shortcodes/gallery.html
+++ b/layouts/shortcodes/gallery.html
@@ -1,3 +1,3 @@
<div class="inline-image">
- {{ .Inner | safeHTML }}
+ {{ .Inner | markdownify | safeHTML }}
</div>