summaryrefslogtreecommitdiff
path: root/layouts/_default/single.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.gmi')
-rw-r--r--layouts/_default/single.gmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index ab94304..cc98bc6 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -7,7 +7,7 @@
{{ end -}}
# {{ .Name | safeHTML }}
-{{ $content := .RawContent -}}
+{{ $content := chomp (.RawContent) -}}
{{ $scratch := newScratch -}}
{{/* split text into chunks, with each chunk containing 3 parts: above, within, and below preformatted text */ -}}