From 29318d12f00bb59218d9e531e824e6259283a0af Mon Sep 17 00:00:00 2001 From: luxick Date: Tue, 28 Jul 2026 19:35:59 +0200 Subject: [PATCH] Fix empty cells in the Termine tables strings.Replace takes its input as the FIRST argument, so piping into it appended the cell value as the last argument instead: the call evaluated as strings.Replace "\n" "
" .date, which returned a bare newline. Rows rendered with the correct count but no content. Pass the value explicitly instead. All 25 rows now render, with line breaks and the inline link in the 2020 entry preserved. Co-Authored-By: Claude Opus 5 --- layouts/_partials/termine-table.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 }}