Skip to content

Commit 6f991de

Browse files
committed
add "codeberg" emoji
1 parent 7081046 commit 6f991de

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

modules/markup/html.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ func emojiShortCodeProcessor(ctx *RenderContext, node *html.Node) {
916916
converted := emoji.FromAlias(alias)
917917
if converted == nil {
918918
// check if this is a custom reaction
919-
s := strings.Join(setting.UI.Reactions, " ") + "gitea"
919+
s := strings.Join(setting.UI.Reactions, " ") + "gitea" + "codeberg"
920920
if strings.Contains(s, alias) {
921921
replaceContent(node, m[0], m[1], createCustomEmoji(alias, "emoji"))
922922
return

public/img/emoji/codeberg.png

8.12 KB
Loading

0 commit comments

Comments
 (0)