mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-11-19 13:24:27 +00:00
unusedtitle trim title if needed (#8882)
This commit is contained in:
1 parent
f8a8f00f52
commit
4478f445a5
1 file changed
+1
-1
@@ -31,7 +31,7 @@ exports.run = function(baseName,separator,template,startCount) {
|
||||
}
|
||||
// $tw.wiki.generateNewTitle = function(baseTitle,options)
|
||||
// options.prefix must be a string!
|
||||
return this.wiki.generateNewTitle(baseName, {"prefix": separator, "template": template, "startCount": startCount});
|
||||
return this.wiki.generateNewTitle(baseName, {"prefix": separator, "template": template, "startCount": startCount}).trim();
|
||||
};
|
||||
|
||||
})();
|
||||
Reference in new issue
Block a user