From 0a5af2e8dabd1f0e92e9eb43ceb5a9cb92aea9b1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 28 Apr 2022 11:26:45 +0200 Subject: [PATCH] fix: fix nested hint rendering issues (#391) --- layouts/shortcodes/hint.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/hint.html b/layouts/shortcodes/hint.html index 94f722c..15149b6 100644 --- a/layouts/shortcodes/hint.html +++ b/layouts/shortcodes/hint.html @@ -5,12 +5,12 @@
- {{ with $icon }} + {{- with $icon -}} {{ $title }} - {{ else }} + {{- else -}} - {{ end }} + {{- end -}}
{{ .Inner | $.Page.RenderString }}