diff options
| author | Jens Mönig <jens@moenig.org> | 2015-05-21 20:19:22 +0200 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-05-21 20:19:22 +0200 |
| commit | 1a4721ef4ac844c668a1614cf3a6e728c624aa7c (patch) | |
| tree | a2793d9eb44e61b3a915581ee7aa3aea31f538f6 | |
| parent | 9ce4b2e1b68fa6c05b66b412f6fb5adb25c78382 (diff) | |
| download | snap-1a4721ef4ac844c668a1614cf3a6e728c624aa7c.tar.gz snap-1a4721ef4ac844c668a1614cf3a6e728c624aa7c.zip | |
Fix encoding for exported libraries of global blocks
| -rw-r--r-- | byob.js | 6 | ||||
| -rwxr-xr-x | history.txt | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -106,7 +106,7 @@ SymbolMorph, isNil*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2015-May-01'; +modules.byob = '2015-May-21'; // Declarations @@ -3297,7 +3297,9 @@ BlockExportDialogMorph.prototype.selectNone = function () { // BlockExportDialogMorph ops BlockExportDialogMorph.prototype.exportBlocks = function () { - var str = this.serializer.serialize(this.blocks); + var str = encodeURIComponent( + this.serializer.serialize(this.blocks) + ); if (this.blocks.length > 0) { window.open(encodeURI('data:text/xml,<blocks app="' + this.serializer.app diff --git a/history.txt b/history.txt index 33d3a82..62d267d 100755 --- a/history.txt +++ b/history.txt @@ -2514,3 +2514,7 @@ ______ 150518 ------ * Objects, GUI: Fix encoding for exported sprites (esp. comments) + +150521 +------ +* BYOB: Fix encoding for exported libraries of global blocks |
