From 6903bad8616d09884d97146f8958fc3c743650f2 Mon Sep 17 00:00:00 2001 From: Alessio Perugini Date: Tue, 28 Nov 2023 17:12:22 +0100 Subject: [PATCH] input sanitization --- home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.html b/home.html index bad500a47..7f4ffb6b9 100644 --- a/home.html +++ b/home.html @@ -44,7 +44,7 @@ if (messages.length > MESSAGES_MAX_COUNT) { messages.shift(); } - log.innerHTML = messages.join('

'); + log.textContent = messages.join('

'); if (autoscroll.checked) { log.scrollTop = log.scrollHeight - log.clientHeight; }