You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Started rewriting search engine to better support unicode
This commit is contained in:
@ -229,6 +229,8 @@ function pregQuote(str, delimiter = '') {
|
||||
}
|
||||
|
||||
function surroundKeywords(keywords, text, prefix, suffix) {
|
||||
if (!keywords.length) return text;
|
||||
|
||||
let regexString = keywords.map((k) => {
|
||||
if (k.type === 'regex') {
|
||||
return k.value;
|
||||
|
Reference in New Issue
Block a user