Realign emojis to avoid strange text alignment

This commit is contained in:
Sebastian Wolf 2020-11-26 14:44:02 +01:00
parent 90f7535fda
commit b31072ff82

View file

@ -54,13 +54,13 @@ function emojify(str, emojiSize) {
basePath,
iconId,
'.svg',
'" align="middle" width="',
emojiSize,
'" align="bottom" width="',
Math.round(emojiSize * 6 / 5 ),
'" height="',
emojiSize,
Math.round(emojiSize * 6 / 5 ),
'"/>'
);
}
return ret.replace(ampersandRe, "&");
});
}
}