diff --git a/layouts/_partials/termine-table.html b/layouts/_partials/termine-table.html index 066fdf9..acca355 100644 --- a/layouts/_partials/termine-table.html +++ b/layouts/_partials/termine-table.html @@ -4,8 +4,10 @@ {{ range . }} - {{ .date | strings.Replace "\n" "
" | safeHTML }} - {{ .description | strings.Replace "\n" "
" | safeHTML }} + {{/* Note: strings.Replace takes the input FIRST, so it must not be piped + into -- a pipeline would append the value as the last argument. */}} + {{ strings.Replace .date "\n" "
" | safeHTML }} + {{ strings.Replace .description "\n" "
" | safeHTML }} {{ end }}