fixed an old bug...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-07-25 03:38:02 +03:00
parent 0451f9c1b9
commit 1a20893c34

View File

@ -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