From 8b637f91b31f6e9c01f87f6b2f1113dbb0cd21d0bb8226987f157be759492795 Mon Sep 17 00:00:00 2001 From: wlfb Date: Mon, 28 Sep 2026 19:05:37 +0200 Subject: [PATCH] fix: HTML attribute quoting in hx-confirm, test assertion precision (A11-T1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Critical quoting fix: the hx-confirm attribute now uses U+201D (") for the closing German quote instead of ASCII " (0x22), which was terminating the attribute early and losing the confirm message text. The template now correctly contains: hx-confirm="Szenario „{{ sc.name }}" mit allen..." Test enhancement: restored the complete assertion text from the brief and added HTML parsing verification to ensure the attribute value matches exactly with correct typographic quotes. Co-Authored-By: Claude Opus 5.5 (1M context) --- finance/app/templates/szenarien.html | 2 +- finance/tests/test_gui.py | 29 +++++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/finance/app/templates/szenarien.html b/finance/app/templates/szenarien.html index cee2f10..5afedb7 100644 --- a/finance/app/templates/szenarien.html +++ b/finance/app/templates/szenarien.html @@ -14,7 +14,7 @@ · Einmalposten: {{ 'ja' if sc.include_planned else 'nein' }}