diff --git a/layouts/shortcodes/paige/quote.html b/layouts/shortcodes/paige/quote.html index 2b66f1c1..30aed100 100644 --- a/layouts/shortcodes/paige/quote.html +++ b/layouts/shortcodes/paige/quote.html @@ -1,6 +1,6 @@ {{ $align := .Get "align" }} {{ $caption := .Get 0 | default (.Get "caption") }} -{{ $content := .Inner }} +{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" }} {{ $float := .Get "float" }} {{ $height := .Get "height" }} {{ $justify := .Get "justify" }}