From 11a52b70cdf41d8229c967c08ce47d8df539dd5a Mon Sep 17 00:00:00 2001 From: WfKe9vLwSvv7rN <96372288+WfKe9vLwSvv7rN@users.noreply.github.com> Date: Sun, 28 Aug 2022 02:48:20 -0700 Subject: [PATCH] Fix spacing around `rawhtml` shortcode (#1018) Removes line break from generated HTML output. This line break renders in browsers as an unwanted space. --- layouts/shortcodes/rawhtml.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html index 520ec178..9350c13f 100644 --- a/layouts/shortcodes/rawhtml.html +++ b/layouts/shortcodes/rawhtml.html @@ -1,2 +1,2 @@ -{{.Inner}} \ No newline at end of file +{{- .Inner -}} \ No newline at end of file