mirror of
1
Fork 0
forgejo/modules/emoji
mrsdizzie ea1ed802a3
Fix emoji detection in certain cases (#12320)
* Fix emoji detection certain cases

Previous tests weren't complicated enough so there were some situations where emojis were't detected properly. Find the earliest occurance in addition to checking for the longest combination.

Fixes #12312

* ok spell bot

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-07-25 16:40:04 +03:00
..
emoji.go Fix emoji detection in certain cases (#12320) 2020-07-25 16:40:04 +03:00
emoji_data.go Update emoji dataset with skin tone variants (#11678) 2020-06-02 02:22:40 -04:00
emoji_test.go