From 5c4162d2ebfa5c270e06a52d841ee7d12fc6852c Mon Sep 17 00:00:00 2001 From: Konrad du Plessis Date: Thu, 23 Apr 2026 10:20:58 +0200 Subject: [PATCH] fix(report): stop double-encoding project_team_pairs_json for pill cross-filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task 1 set context['project_team_pairs_json'] = json.dumps(pairs), then the template rendered it with |json_script — which also calls json.dumps on the value. Result was a JSON-encoded string-of-a-string in the + match = re.search( + r'', + html, re.DOTALL + ) + self.assertIsNotNone(match, 'projectTeamPairs