From a5f90ad6e3d4287d92cc11cf0d707b958c7c8b4d Mon Sep 17 00:00:00 2001 From: Emi Griffith Date: Sun, 19 Jul 2026 21:14:56 -0700 Subject: [PATCH] Fix the footer leaking "wrapper. #}" from a broken Jinja comment (#211) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The note explaining the hidden digest form contained a literal "{# … #}" in its prose. Jinja doesn't nest comments, so the inner "#}" closed the comment early and the trailing "wrapper. #}" rendered as visible text at the top of every footer. Reworded the note without comment delimiters. Adds a test asserting no base- template page's footer contains a stray "{#"/"#}" (fails against the old template). Claude-Session: https://claude.ai/code/session_013dRZmX9D3JEntfMKWMTWZ8 --- templates/base.html.j2 | 4 ++-- tests/test_content.py | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/templates/base.html.j2 b/templates/base.html.j2 index 452ac99..c5ed3b4 100644 --- a/templates/base.html.j2 +++ b/templates/base.html.j2 @@ -72,8 +72,8 @@