summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorisla w <info@mrsdizzie.com>2023-01-04 12:52:48 -0500
committerGitHub <noreply@github.com>2023-01-04 11:52:48 -0600
commitf41ad344cb248082f8beb773e67ab48c5d1f61ab (patch)
tree42ef1b31122c4a1abfe5b360612a1cd29af0a0a8 /build
parentfdbb0b4762d8eb77a82484eb9ac1ef8aacd3f58b (diff)
downloadgitea-f41ad344cb248082f8beb773e67ab48c5d1f61ab.tar.gz
gitea-f41ad344cb248082f8beb773e67ab48c5d1f61ab.zip
Update Emoji dataset to Unicode 14 (#22342)
Gitea emoji dataset was out of date because it gets manually built and hasn't been rebuilt since it was added. This means Gitea doesn't recognize some newer emoji or changes to existing ones. After changing the max unicode version to 14 I just ran: `go run build/generate-emoji.go` This should address the initial issue seen in #22153 where Gitea doesn't recognize a standard alias used elsewhere when importing content. 14 is the latest supported version from the upstream source as 15 is not widely supported (in their opinion) yet
Diffstat (limited to 'build')
-rw-r--r--build/generate-emoji.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/generate-emoji.go b/build/generate-emoji.go
index 35c23aaf9e..0add230c58 100644
--- a/build/generate-emoji.go
+++ b/build/generate-emoji.go
@@ -25,7 +25,7 @@ import (
const (
gemojiURL = "https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json"
- maxUnicodeVersion = 12
+ maxUnicodeVersion = 14
)
var flagOut = flag.String("o", "modules/emoji/emoji_data.go", "out")