From 7be1e7e5f8c9e7074e0f14696217beee10f2218d Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sat, 16 Jan 2021 15:37:50 +0000 Subject: [PATCH] Xlsx-utils: Fix crash when using deserializer Fixes #5400 (broken in #4601) --- plugins/tiddlywiki/xlsx-utils/deserializer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/xlsx-utils/deserializer.js b/plugins/tiddlywiki/xlsx-utils/deserializer.js index 94a4249dc..250184d23 100644 --- a/plugins/tiddlywiki/xlsx-utils/deserializer.js +++ b/plugins/tiddlywiki/xlsx-utils/deserializer.js @@ -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();