From 4dc8eff074093262fd7b1694359b5184a2eecfab Mon Sep 17 00:00:00 2001 From: George Cushen Date: Thu, 19 Nov 2020 20:21:58 +0000 Subject: [PATCH] fix: Hugo minfiy removes spaces in Figure captions Add explicit   to prevent Hugo stripping desired spaces. Fix #1972 --- wowchemy/layouts/shortcodes/figure.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wowchemy/layouts/shortcodes/figure.html b/wowchemy/layouts/shortcodes/figure.html index 718f0b95..9fb38e92 100644 --- a/wowchemy/layouts/shortcodes/figure.html +++ b/wowchemy/layouts/shortcodes/figure.html @@ -47,7 +47,7 @@ {{ if $caption }} {{/* Localize the figure numbering (if enabled). */}} {{ $figure := split (i18n "figure" | default "Figure %d:") "%d" }} - + {{ $caption | markdownify | emojify }} {{ end }}