-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When I click save I get an immediate "Internal JavaScript Error, The data is invalid." The "Save As" dialog is not shown.
Call stack shows:
Error
at TiddlyIESaver.prototype.save (eval code:40:3)
at SaverHandler.prototype.saveWiki (eval code:175:3)
at Anonymous function (eval code:91:4)
at eventListeners[type] (eval code:399:4)
at Widget.prototype.dispatchEvent (eval code:412:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)"
Line 40 looks like "window.TiddlyIE.save(pathname, text);"
So far I've worked out that TiddlyIE is looking for an MOTW that has "http://tiddlywiki.com/" in it; the new TiddlyWiki has changed the http to https.
However, I've changed the 5.1.19 MOTW to be "http" and I'm still getting the same problem.
I think TiddlyIE should:
- Accept an MOTW with either http or https
- The MOTW should not need to end with '\r' (remove existing trailing '\r')
- The tokenizer should split on both '\r' and '\n' (line 187: L"\r\n")