From 111e1e4d52334338ca582b20d7c518082db46290 Mon Sep 17 00:00:00 2001 From: Will Manning Date: Thu, 29 Oct 2026 22:26:45 -0400 Subject: [PATCH] fix: resolve four code-scanning alerts - CodeQL js/bad-tag-filter and js/incomplete-multi-character-sanitization (high) on bench's server smoke test: the regex that strips React's comment markers missed comments that span lines, and one pass could leave a `` comment nodes; strip them so the assertions read the - // user-visible text. - const html = raw.replace(//g, ''); + // user-visible text. Comments can span lines, and removing one can join + // the text around it into a new `/g, ''); + } expect(html).toContain('tpch sf=1 Q1 [nvme] - Vortex Benchmarks'); expect(html).toContain('class="chart-meta"'); expect(html).toContain('unit: ');