kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix savetiddlers command to create files with special characters in the name
rodzic
0b45b87278
commit
4af8026e28
|
@ -42,7 +42,7 @@ Command.prototype.execute = function() {
|
|||
var renderTree = new $tw.WikiRenderTree(parser,{wiki: wiki});
|
||||
renderTree.execute({tiddlerTitle: title});
|
||||
var text = renderTree.render(type);
|
||||
fs.writeFileSync(path.resolve(pathname,title + extension),text,"utf8");
|
||||
fs.writeFileSync(path.resolve(pathname,encodeURIComponent(title) + extension),text,"utf8");
|
||||
});
|
||||
return null;
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue