0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-27 02:32:52 +01:00
gitea/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