mirror of
https://github.com/zotero/zotero.git
synced 2026-09-11 22:51:15 +00:00
Don't split tags at em dashes on paste in item tags box
https://github.com/zotero/zotero/pull/5366#discussion_r2245628458
This commit is contained in:
parent
5063a8b396
commit
19a848484a
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@
|
|||
});
|
||||
event.preventDefault();
|
||||
}
|
||||
let delimiters = [',', ';', '--', '—'];
|
||||
let delimiters = [',', ';'];
|
||||
let interceptRegex = new RegExp(`\\w+\\s*(${delimiters.join('|')})\\s*\\w+`, 'i');
|
||||
let match = str.match(interceptRegex);
|
||||
if (match) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue