diff options
| author | Jens Mönig <jens@moenig.org> | 2015-05-21 20:09:21 +0200 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-05-21 20:09:21 +0200 |
| commit | e005d716017bdd55027310a27a10cf5dacbf0098 (patch) | |
| tree | c2ecee4c34388256f5b34d2c35fcf248ff4a0faa | |
| parent | be938b5da76b3dd530a156ffdbe750535590aa28 (diff) | |
| download | snap-e005d716017bdd55027310a27a10cf5dacbf0098.tar.gz snap-e005d716017bdd55027310a27a10cf5dacbf0098.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 32a24ae..8e6a8fc 100755 --- a/history.txt +++ b/history.txt @@ -2504,3 +2504,7 @@ ______ ------ * Objects, GUI: Fix encoding for exported sprites (esp. comments) * Portuguese translation update, thanks, Manuel!! + +150521 +------ +* BYOB: Fix encoding for exported libraries of global blocks |
