diff --git a/pd/nw/dialog_gatom.html b/pd/nw/dialog_gatom.html index 85d1e7732602b793cbb4470990db7bd459541250..5a6be0ca11ec7fcc4ae945ffc30a3c57b57cc5f3 100644 --- a/pd/nw/dialog_gatom.html +++ b/pd/nw/dialog_gatom.html @@ -168,7 +168,7 @@ function substitute_space(arg) { } function strip_problem_chars(arg) { - var problem_chars = [";", ",", "{", "}", "\\"]; + var problem_chars = [";", ",", "\\"]; var ret = arg; for(var i = 0; i < problem_chars.length; i++) { ret = ret.split(problem_chars[i]).join(""); diff --git a/pd/nw/dialog_iemgui.html b/pd/nw/dialog_iemgui.html index 84e1cae08115d7f8de2937716c8dce50f58a532e..a79e188a3e788d35817f3eb18527dd1b3947196e 100644 --- a/pd/nw/dialog_iemgui.html +++ b/pd/nw/dialog_iemgui.html @@ -346,7 +346,7 @@ function substitute_space(arg) { } function strip_problem_chars(arg) { - var problem_chars = [";", ",", "{", "}", "\\"], + var problem_chars = [";", ",", "\\"], ret = arg, i; for(i = 0; i < problem_chars.length; i++) { diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js index 8b9ef22077b89cb010cf9830783163290500e7f7..7c7aa77e269d05a183a6993c5fd04b036975a877 100644 --- a/pd/nw/pd_canvas.js +++ b/pd/nw/pd_canvas.js @@ -49,7 +49,6 @@ function text_to_fudi(text) { text = text.replace(/(\$[0-9]+)/g, "\\$1"); // escape dollar signs text = text.replace(/(\$@)/g, "\\$@"); // escape special $@ sign text = text.replace(/(?!\\)(,|;)/g, " \\$1 "); // escape "," and ";" - text = text.replace(/\{|\}/g, ""); // filter "{" and "}" text = text.replace(/\u0020+/g, " "); // filter consecutive ascii32 return text; } diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index 9a92edb63ada5459a52c131086658ed5b45c554f..d29377c03001d93714aafbd09b7ed894de77bd52 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -4946,7 +4946,7 @@ void canvas_key(t_canvas *x, t_symbol *s, int ac, t_atom *av) else gotkeysym = gensym("?"); //fflag = (av[0].a_type == A_FLOAT ? av[0].a_w.w_float : 0); keynum = (av[1].a_type == A_FLOAT ? av[1].a_w.w_float : 0); - if (keynum == '\\' || keynum == '{' || keynum == '}') + if (keynum == '\\') { post("keycode %d: dropped", (int)keynum); return;