app/assets/htmls/gs-element-blockly.html in gobstones-blockly-0.20.0 vs app/assets/htmls/gs-element-blockly.html in gobstones-blockly-0.20.1

- old
+ new

@@ -6048,11 +6048,11 @@ const primitiveFunctions = this._getPrimitiveNames(this.primitiveFunctions); let tree = [] let xml = toolboxXML || this.$$('#toolbox').innerHTML; - xml = this._processCustomCategories(xml); + this._processCustomCategories(xml); // TODO: Este parseo por strings es tremendo, y esa property `xml` de los nodos se usa en _toolboxBlockXML, _toolboxBlockXML, etc. Hay que hacer de vuelta todo lo de acciones primitivas. xml = xml.replace(/> *<\/category>/g, ">\n</category>"); let toolboxDefaultLines = xml.split("\n"); @@ -6638,11 +6638,9 @@ if (custom === "PRIMITIVE_FUNCTIONS") { this.primitiveFunctionsCategoryName = name; } }); - - return Blockly.Xml.domToText(parsedXml); }, _mapToolboxTree: function(toolboxTree, f){ var resultingList = []; for (var i in toolboxTree){ \ No newline at end of file