From b654c9db080858f457c814918a803f5f7a761079 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 19 Nov 2025 20:17:17 -0700 Subject: [PATCH] Ensure shortcode alt text gets displayed as markdown. --- layouts/shortcodes/audio.html | 2 +- layouts/shortcodes/image-with-fallback.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/audio.html b/layouts/shortcodes/audio.html index c761cc5..1551240 100644 --- a/layouts/shortcodes/audio.html +++ b/layouts/shortcodes/audio.html @@ -21,5 +21,5 @@ src='{{ $src }}' type='audio/{{ .Scratch.Get "type" }}' > - {{ .Scratch.Get "text" }} + {{ .Scratch.Get "text" | markdownify }} \ No newline at end of file diff --git a/layouts/shortcodes/image-with-fallback.html b/layouts/shortcodes/image-with-fallback.html index 88498d0..f97951f 100644 --- a/layouts/shortcodes/image-with-fallback.html +++ b/layouts/shortcodes/image-with-fallback.html @@ -12,4 +12,4 @@ {{ $alt }} --> -{{ $alt }} +{{ $alt | markdownify }}