Add custom emoji support (#16004)

This commit is contained in:
6543 authored and GitHub committed 2021-06-29 16:28:38 +02:00
1 parent aac663e0da
commit 65548359cc
11 files changed
+57 -23

No files matched your search

+3
View File
@@ -90,6 +90,9 @@ func NewFuncMap() []template.FuncMap {
"AllowedReactions": func() []string {
return setting.UI.Reactions
},
"CustomEmojis": func() map[string]string {
return setting.UI.CustomEmojisMap
},
"Safe": Safe,
"SafeJS": SafeJS,
"JSEscape": JSEscape,