Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/adityatelange/hugo-PaperMod.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWfKe9vLwSvv7rN <96372288+WfKe9vLwSvv7rN@users.noreply.github.com>2022-08-28 12:48:20 +0300
committerGitHub <noreply@github.com>2022-08-28 12:48:20 +0300
commit11a52b70cdf41d8229c967c08ce47d8df539dd5a (patch)
treea111d439b2c355162dd4c157878c618c3334ea94
parentb906338dc82a48e0fa8c8d4160a09c8b07302472 (diff)
Fix spacing around `rawhtml` shortcode (#1018)
Removes line break from generated HTML output. This line break renders in browsers as an unwanted space.
-rw-r--r--layouts/shortcodes/rawhtml.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<!-- raw html -->
-{{.Inner}} \ No newline at end of file
+{{- .Inner -}} \ No newline at end of file