#195 - Also highlight single emojis
This commit is contained in:
@@ -366,7 +366,7 @@ export class Omnisearch {
|
|||||||
|
|
||||||
// Tags, starting with #
|
// Tags, starting with #
|
||||||
...tags,
|
...tags,
|
||||||
].filter(w => w.length > 1)
|
].filter(w => w.length > 1 || /\p{Emoji}/u.test(w))
|
||||||
|
|
||||||
// console.log(foundWords)
|
// console.log(foundWords)
|
||||||
const matches = this.getMatches(
|
const matches = this.getMatches(
|
||||||
|
|||||||
Reference in New Issue
Block a user