Skip to content

Commit 496b8ab

Browse files
committed
- Helpers: updated helpers.
1 parent 573b521 commit 496b8ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

helpers/helpers_xxx_tags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
//27/03/26
2+
//04/04/26
33

44
/* exported dynamicTags, numericTags, cyclicTags, keyTags, sanitizeTagIds, sanitizeTagValIds, queryCombinations, queryReplaceWithCurrent, checkQuery, getHandleTags, getHandleListTags ,getHandleListTagsV2, getHandleListTagsTyped, cyclicTagsDescriptor, isQuery, fallbackTagsQuery, isSubsong, isSubsongPath, fileRegex,queryCombinationsExpand, getHandleListTagsV3 */
55

@@ -69,7 +69,7 @@ const logicDic = ['AND', 'OR', 'AND NOT', 'OR NOT'];
6969
* @returns {string}
7070
*/
7171
function sanitizeTagTfo(tag) {
72-
return tag.replace(/'/g, '\'\'').replace(/%/g, '\'%\'').replace(/\$/g, '\'$$\'').replace(/\[/g, '\'[\'').replace(/\]/g, '\']\'').replace(/\(/g, '\'(\'').replace(/\)/g, '\')\'').replace(/,/g, '\',\'');
72+
return tag.replace(/'/g, '\'\'').replace(/%/g, '\'%\'').replace(/\$/g, '\'$$\'').replace(/\[/g, '\'[\'').replace(/\]/g, '\']\'').replace(/\(/g, '\'(\'').replace(/\)/g, '\')\'').replace(/,/g, '\',\'').replace(/\|/g, '\'|\'');;
7373
}
7474

7575
/**

0 commit comments

Comments
 (0)