app/assets/htmls/gs-element-blockly.html in gobstones-blockly-0.10.0 vs app/assets/htmls/gs-element-blockly.html in gobstones-blockly-0.10.1
- old
+ new
@@ -4899,10 +4899,10 @@
// Necesario para sanitizar nombres de procedimientos.
// En la interfaz de bloques de gobstones por ahora vamos a dejar pasar sólo espacios y letras con tilde
Blockly.Blocks.GobstonesSanitizer = function(name){
- return name.replace(/[^A-Za-z0-9ÁÉÍÓÚÑáéíóúñ ]/g,'');
+ return name.replace(/[^A-Za-z0-9ÁÉÍÓÚÑáéíóúñ_ ]/g,'');
};
Blockly.Procedures.OldRename = Blockly.Procedures.rename;
Blockly.Procedures.rename = function(name){
\ No newline at end of file