From: Chris Duncan Date: Sat, 11 Jan 2025 04:02:21 +0000 (-0800) Subject: Avoid gt/lt in innerHTML. X-Git-Tag: v0.0.1~10 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=5e3150f32fbdba6224ede335d8985774707870ca;p=nano-pow.git Avoid gt/lt in innerHTML. --- diff --git a/test.html b/test.html index 0cf6041..dbe1a14 100644 --- a/test.html +++ b/test.html @@ -26,7 +26,7 @@ SPDX-License-Identifier: GPL-3.0-or-later const end = performance.now() times.push(end - start) console.log(`${work} (${end - start} ms) ${hash}`) - document.getElementById('output').innerHTML += `${hash} <${work}> (${end - start} ms)
` + document.getElementById('output').innerHTML += `${hash} [${work}] (${end - start} ms)
` } print(times) })