mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
emails: Use macros for email tags in invitation email.
This commit is contained in:
@@ -50,7 +50,7 @@ def inline_template(template_source_name: str) -> None:
|
||||
# template, since we'll end up with 2 copipes of those tags.
|
||||
# Thus, we strip this stuff out if the template extends
|
||||
# another template.
|
||||
if template_name != 'email_base_default':
|
||||
if template_name not in ['email_base_default', 'macros']:
|
||||
output = strip_unnecesary_tags(output)
|
||||
|
||||
if ('zerver/emails/compiled/email_base_default.html' in output or
|
||||
|
||||
Reference in New Issue
Block a user