From 2d6000d1e4119a60de9315d874b9563182696d5f Mon Sep 17 00:00:00 2001 From: ai_coder Date: Thu, 22 Oct 2026 09:27:49 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BD=D0=B0=D0=B4=D0=B5=D0=B6=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20JSON=20=D0=B2=20data-seg=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=81=D1=82=D0=B0=D0=B1=D0=B8=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D1=8B=D1=85=20=D1=82=D1=83=D0=BB=D1=82=D0=B8=D0=BF=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=B0=D0=BF=D1=82=D0=B0=D0=B9=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/static/index.html b/app/static/index.html index 66b86fa..c75c326 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -311,7 +311,8 @@ function uptimeCell(pct, history) { const segs = hist.map((h, i) => { const ok = typeof h === 'boolean' ? h : h && h.ok; const data = typeof h === 'boolean' ? { ok } : h; - return ``; + const jsonStr = JSON.stringify(data).replace(/"/g, '"').replace(/'/g, '''); + return ``; }).join(''); const label = pct === null || pct === undefined ? '—' : `${pct}%`;