summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.gmi6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index 04c09de..9e454a8 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -35,13 +35,11 @@
{{- $cur_chunk = $cur_chunk | emojify }}
{{- if $before_pre }}
- {{- $before_pre = $cur_chunk }}
- {{- $before_pre | safeHTML }}
+ {{- $cur_chunk | safeHTML }}
{{- $pre | safeHTML }}
{{- else }}
- {{- $after_pre = $cur_chunk }}
{{- $pre | safeHTML }}
- {{- $after_pre | safeHTML }}
+ {{- $cur_chunk | safeHTML }}
{{- end }}
{{- end }}