From 599b6878495f85fb32e59f0db1b7b63a3aa7ea43 Mon Sep 17 00:00:00 2001 From: David Anson Date: Mon, 16 Dec 2024 20:14:33 -0800 Subject: [PATCH] Use double quotes for HTML attribute of demo page containing JSON.stringify output (because that escapes double quotes but not single quotes and encodeURIComponent also ignores single quotes). --- demo/default.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/default.js b/demo/default.js index 2a78a3af..1f58347d 100644 --- a/demo/default.js +++ b/demo/default.js @@ -130,9 +130,9 @@ "\"]" : "") + (result.fixInfo ? - " [Fix]" : + "\" class='detail'>Fix]" : ""); }).join("
"); }