mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
revert unicode regex since it's still not supported by ff
This commit is contained in:
parent
7554cb057b
commit
882ebdbd8f
@ -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…
x
Reference in New Issue
Block a user