minetest.formspec escape

Description
Escapes characters such as [ and ] that can not be used in formspecs. Returns the escaped string.