Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
emoji: Fix minor typo in unicode_emoji_to_codepoint comment.
Puneeth Chaganti0eeb74b3c2ba
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.pyindex 6ba4bcc78a4..130134246b7 100644--- a/zerver/lib/markdown/__init__.py+++ b/zerver/lib/markdown/__init__.py@@ -1476,7 +1476,7 @@ def make_realm_emoji(src: str, display_string: str) -> Element:def unicode_emoji_to_codepoint(unicode_emoji: str) -> str:codepoint = hex(ord(unicode_emoji))[2:]# Unicode codepoints are minimum of length 4, padded- # with zeroes if the length is less than zero.+ # with zeroes if the length is less than four.while len(codepoint) < 4:codepoint = "0" + codepointreturn codepoint