inkscapeのjessyinkでexportできない問題

Jessyinkのexportがうまくできなくなっている問題の解決法メモ.

環境は
Ubuntu 12.4, Inkscape 0.48.3.1
Jessyink 1.5.5
Firefox 21.0

/usr/share/inkscape/extensions/jessyInk.jsの1421行目付近.
Serialize the new documentからwindow.location...までをコメントアウトして,

var serializer = new XMLSerializer();
var xml = serializer.serializeToString(newDoc);
window.location = 'data:application/svg+xml;base64;charset=utf-8,' + window.btoa(unescape(encodeURIComponent(xml)));

と書き換え.

これで上手く動くようになった.


参考.
https://code.google.com/p/jessyink/wiki/Export