mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
emoji: Remap ':smile' emoji and update the settings UI.
This commit remaps the ':smile' emoji to 😄 and introduces ':slight_smile' which maps to `🙂`. Fixes #32712
This commit is contained in:
@@ -89,7 +89,7 @@ function get_emoticon_translations() {
|
||||
}
|
||||
|
||||
const emoji_map = new Map();
|
||||
emoji_map.set("smile", "1f642");
|
||||
emoji_map.set("smile", "1f604");
|
||||
emoji_map.set("alien", "1f47d");
|
||||
|
||||
function get_emoji_codepoint(emoji_name) {
|
||||
@@ -203,7 +203,7 @@ run_test("stream links", () => {
|
||||
run_test("emojis", () => {
|
||||
assert_parse(
|
||||
"yup :)",
|
||||
'<p>yup <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>',
|
||||
'<p>yup <span aria-label="smile" class="emoji emoji-1f604" role="img" title="smile">:smile:</span></p>',
|
||||
);
|
||||
assert_parse(
|
||||
"I <3 JavaScript",
|
||||
|
||||
Reference in New Issue
Block a user