home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix unparser.quote bug.
[plomrogue2-experiments]
/
new2
/
rogue_chat_nocanvas_monochrome.html
diff --git
a/new2/rogue_chat_nocanvas_monochrome.html
b/new2/rogue_chat_nocanvas_monochrome.html
index e3204e8ac373d3e48edbed165341d8f3bd220b94..7f1820f976793f39f28af3d996336cd60b879ed6 100644
(file)
--- 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];
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);
quoted.push('\\');
};
quoted.push(c);