From 1dfcfed27a1b3f5ebc9ddc0eccda4ca8f9d37aa9 Mon Sep 17 00:00:00 2001 From: paspo Date: Sun, 11 Aug 2024 18:33:06 +0000 Subject: [PATCH] fix img tooltip (#193) fixes #192 Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/193 Co-authored-by: paspo Co-committed-by: paspo --- layouts/_default/_markup/render-image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 46512be..9c63b35 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -20,7 +20,7 @@ {{- $captionWidth = .Width -}} {{- end -}} {{- end -}} -{{- $attributes := merge .Attributes (dict "alt" .Text "src" $src "title" (.Title | transform.HTMLEscape)) -}} +{{- $attributes := merge .Attributes (dict "alt" .Text "src" $src "title" .Text) -}}