1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Xlsx-utils: Fix crash when using deserializer

Fixes #5400 (broken in #4601)
This commit is contained in:
jeremy@jermolene.com 2021-01-16 15:37:50 +00:00
parent b205da2007
commit 7be1e7e5f8

View File

@ -20,7 +20,8 @@ exports["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] = f
var results = [],
XLSXImporter = require("$:/plugins/tiddlywiki/xlsx-utils/importer.js").XLSXImporter,
importer = new XLSXImporter({
text: text
text: text,
wiki: $tw.wiki
});
// Return the output tiddlers
return importer.getResults();