From 1a20893c348b10c9e9f5ebe82b6aa32f324dd61f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 25 Jul 2016 03:38:02 +0300 Subject: [PATCH] fixed an old bug... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/filesystem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/features/filesystem.js b/ui (gen4)/features/filesystem.js index 4ed0bf81..ebf14a0c 100755 --- a/ui (gen4)/features/filesystem.js +++ b/ui (gen4)/features/filesystem.js @@ -2049,9 +2049,9 @@ var FileSystemWriterActions = actions.Actions({ // tags... // XXX test: %n%(b)b%(m)m%e .replace( - /%\((.*)\)m/, tags.indexOf('selected') >= 0 ? '$1' : '') + /%\(([^)]*)\)m/, tags.indexOf('selected') >= 0 ? '$1' : '') .replace( - /%\((.*)\)b/, tags.indexOf('bookmark') >= 0 ? '$1' : '') + /%\(([^)]*)\)b/, tags.indexOf('bookmark') >= 0 ? '$1' : '') // metadata... // XXX