add pepepoggers emoji

This commit is contained in:
Mystikfluu
2022-08-28 01:22:14 +02:00
parent 42ae9954ae
commit f432433c3c
5 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ function filterMentions(text) {
const emojiregex = /:([^:\s]*):/gi
function emojify(text) {
return text.replace(emojiregex,"<img class='emoji' src='/images/emoji/$1.png' alt='$1' title=':$1:' width=20 height=20/>")
return text.replace(emojiregex,"<img class='emoji' src='/images/emoji/$1.png' alt='$1' title=':$1:' height=20/>")
}
function unemojify(text){