]> zoso.dev Git - nano-pow.git/commitdiff
Avoid gt/lt in innerHTML.
authorChris Duncan <chris@zoso.dev>
Sat, 11 Jan 2025 04:02:21 +0000 (20:02 -0800)
committerChris Duncan <chris@zoso.dev>
Sat, 11 Jan 2025 04:02:21 +0000 (20:02 -0800)
test.html

index 0cf6041313728f63a009cbdac54c432b18b76966..dbe1a144c07335c93ebbce43b87118d5a2138ac4 100644 (file)
--- 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)<br/>`
+                                       document.getElementById('output').innerHTML += `${hash} [${work}] (${end - start} ms)<br/>`
                                }
                                print(times)
                        })