diff --git a/javascript/logMonitor.js b/javascript/logMonitor.js index 7ace190c8..859d9d40b 100644 --- a/javascript/logMonitor.js +++ b/javascript/logMonitor.js @@ -18,7 +18,7 @@ function dateToStr(ts) { } function htmlEscape(text) { - return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">") + return text.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>'); } async function logMonitor() {