diff options
-rw-r--r-- | mesecons_microcontroller/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua index e61c2a0..f49d9dc 100644 --- a/mesecons_microcontroller/init.lua +++ b/mesecons_microcontroller/init.lua @@ -116,7 +116,7 @@ minetest.register_node(nodename, { meta:set_string("code", fields.code) meta:set_string("formspec", "size[9,2.5]".. - "field[0.256,-0.2;9,2;code;Code:;"..fields.code.."]".. + "field[0.256,-0.2;9,2;code;Code:;"..minetest.formspec_escape(fields.code).."]".. "button[0 ,0.2;1.5,3;band;AND]".. "button[1.5,0.2;1.5,3;bxor;XOR]".. "button[3 ,0.2;1.5,3;bnot;NOT]".. |