fix emojis in search

This commit is contained in:
Chrissi2812 2019-05-29 14:14:08 +02:00
parent 016ea8f86b
commit 3246b84229
No known key found for this signature in database
GPG Key ID: B4B82C7E618271DA

View File

@ -53,7 +53,7 @@ export default class Search extends Extension {
}
get findRegExp() {
return RegExp(this.searchTerm, !this.options.caseSensitive ? 'gi' : 'g')
return RegExp(this.searchTerm, !this.options.caseSensitive ? 'gui' : 'gu')
}
get decorations() {