1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 17:36:06 +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_data.go
emoji_test.go
emoji.go Fix emoji detection in certain cases (#12320) 2020-07-25 16:40:04 +03:00