@jupyterlite/contents 0.1.0-alpha.23 → 0.1.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/contents.js +1 -1
- package/package.json +1 -1
package/lib/contents.js
CHANGED
|
@@ -319,7 +319,7 @@ export class Contents {
|
|
|
319
319
|
const ext = PathExt.extname((_a = options.name) !== null && _a !== void 0 ? _a : '');
|
|
320
320
|
if (options.content && options.format === 'base64') {
|
|
321
321
|
// TODO: keep base64 if not a text file (image)
|
|
322
|
-
const content = atob(options.content);
|
|
322
|
+
const content = decodeURIComponent(escape(atob(options.content)));
|
|
323
323
|
const nb = ext === '.ipynb';
|
|
324
324
|
item = {
|
|
325
325
|
...item,
|