mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-21 12:02:56 -08:00
unusedtitle trim title if needed (#8882)
This commit is contained in:
parent
f8a8f00f52
commit
4478f445a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue