mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
markdown: Comment why we do not hash or use STATIC_URL for :zulip:.
This commit is contained in:
parent
6806bec2e9
commit
ccecc8eb84
@ -1505,6 +1505,8 @@ class Emoji(markdown.inlinepatterns.Pattern):
|
||||
if name in active_realm_emoji:
|
||||
return make_realm_emoji(active_realm_emoji[name]["source_url"], orig_syntax)
|
||||
elif name == "zulip":
|
||||
# We explicitly do not use staticfiles to generate the URL
|
||||
# for this, so that it is portable if exported.
|
||||
return make_realm_emoji(
|
||||
"/static/generated/emoji/images/emoji/unicode/zulip.png", orig_syntax
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user