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