mirror of
https://github.com/zadam/trilium.git
synced 2025-01-17 20:48:12 +08:00
revert unicode regex since it's still not supported by ff
This commit is contained in:
parent
7554cb057b
commit
882ebdbd8f
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ async function stopWatch(what, func) {
|
|||
}
|
||||
|
||||
function formatValueWithWhitespace(val) {
|
||||
return /[^\p{L}_-]/u.test(val) ? '"' + val + '"' : val;
|
||||
return /[^\w_-]/.test(val) ? '"' + val + '"' : val;
|
||||
}
|
||||
|
||||
function formatLabel(label) {
|
||||
|
|
Loading…
Reference in a new issue