summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/byob.js b/byob.js
index aff32ad..2ff40ab 100644
--- a/byob.js
+++ b/byob.js
@@ -106,7 +106,7 @@ SymbolMorph, isNil*/
// Global stuff ////////////////////////////////////////////////////////
-modules.byob = '2014-January-09';
+modules.byob = '2014-January-10';
// Declarations
@@ -3189,13 +3189,13 @@ BlockExportDialogMorph.prototype.selectNone = function () {
BlockExportDialogMorph.prototype.exportBlocks = function () {
var str = this.serializer.serialize(this.blocks);
if (this.blocks.length > 0) {
- window.open('data:text/xml,<blocks app="'
+ window.open(encodeURI('data:text/xml,<blocks app="'
+ this.serializer.app
+ '" version="'
+ this.serializer.version
+ '">'
+ str
- + '</blocks>');
+ + '</blocks>'));
} else {
new DialogBoxMorph().inform(
'Export blocks',