diff --git a/core/html.py b/core/html.py index fc790c8..d876475 100644 --- a/core/html.py +++ b/core/html.py @@ -327,7 +327,7 @@ class ContentRenderer: mentions=post.mentions.all(), uri_domain=(None if self.local else post.author.domain.uri_domain), find_hashtags=True, - find_emojis=True, + find_emojis=self.local, emoji_domain=post.author.domain, ) return mark_safe(parser.html) @@ -342,7 +342,7 @@ class ContentRenderer: html, uri_domain=(None if self.local else identity.domain.uri_domain), find_hashtags=True, - find_emojis=True, + find_emojis=self.local, emoji_domain=identity.domain, ) return mark_safe(parser.html) @@ -357,7 +357,7 @@ class ContentRenderer: html, uri_domain=(None if self.local else identity.domain.uri_domain), find_hashtags=False, - find_emojis=True, + find_emojis=self.local, emoji_domain=identity.domain, ) if strip: