#195 - Also highlight single emojis

This commit is contained in:
Simon Cambier
2023-02-20 18:00:31 +01:00
parent 46e22d1756
commit dd48e87517

View File

@@ -366,7 +366,7 @@ export class Omnisearch {
// Tags, starting with #
...tags,
].filter(w => w.length > 1)
].filter(w => w.length > 1 || /\p{Emoji}/u.test(w))
// console.log(foundWords)
const matches = this.getMatches(