From 7bdf22f3e130e29d285c5c77ccea4073a0dac630 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 29 Oct 2020 17:01:21 +0100
Subject: [PATCH] Fix unparser.quote bug.

---
 new2/rogue_chat_nocanvas_monochrome.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html
index e3204e8..7f1820f 100644
--- a/new2/rogue_chat_nocanvas_monochrome.html
+++ b/new2/rogue_chat_nocanvas_monochrome.html
@@ -149,7 +149,7 @@ let unparser = {
         let quoted = ['"'];
         for (let i = 0; i < str.length; i++) {
             let c = str[i];
-            if (c in ['"', '\\']) {
+            if (['"', '\\'].includes(c)) {
                 quoted.push('\\');
             };
             quoted.push(c);
-- 
2.30.2