diff --git a/core/wiki/macros/tag-picker.tid b/core/wiki/macros/tag-picker.tid index 3bc1617db..a67568d8e 100644 --- a/core/wiki/macros/tag-picker.tid +++ b/core/wiki/macros/tag-picker.tid @@ -154,8 +154,10 @@ The second ESC tries to close the "draft tiddler" \function _tf.getUserInput() [get[text]] \function _tf.getTag() [get[text]] + +\function _tf.makeTagNameTiddler() [[$:/temp/NewTagName]] [!match[tags]] +[join[/]] [] +[join[]] - + <$let palette={{$:/palette}} colourA={{{ [getindex[foreground]] }}} @@ -164,7 +166,7 @@ The second ESC tries to close the "draft tiddler" saveTiddler={{{ [is[blank]thenelse] }}} - newTagNameTiddler={{{ [[$:/temp/NewTagName]] [!match[tags]] +[join[/]] [] +[join[]] }}} + newTagNameTiddler={{{ [[newTagNameTiddler]is[variable]then] :else[<_tf.makeTagNameTiddler>] }}} storeTitle={{{ [[$:/temp/NewTagName/input]] [!match[tags]] +[join[/]] [] +[join[]] }}} newTagNameSelectionTiddlerQualified=<>