From c6ea77b4293986ac430d8ce35513207126478b2e Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Wed, 20 May 2020 21:41:47 +0200 Subject: [PATCH] shortcodes: improve smallcaps shortcodes Prevents the smallcaps shortcode to add trailing space before punctuation. Co-Authored-by: Igor Milhit --- layouts/shortcodes/smallcaps.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/smallcaps.html b/layouts/shortcodes/smallcaps.html index ab70a66..28ce112 100644 --- a/layouts/shortcodes/smallcaps.html +++ b/layouts/shortcodes/smallcaps.html @@ -1 +1 @@ -{{ .Get 0 }} +{{ .Get 0 }}{{- "" -}}