Skip to content

Commit

Permalink
do not minify
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k committed Jan 12, 2024
1 parent cea7f50 commit a2f2f19
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions fixbackend/notification/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def get_env() -> Environment:

def render(template_name: str, **kwargs: Any) -> str:
template = get_env().get_template(template_name)
rendered = template.render(**kwargs)
minified = minify_html.minify(rendered)
return minified
result = template.render(**kwargs)
# result = minify_html.minify(result)
return result


@frozen(kw_only=True)
Expand Down Expand Up @@ -87,7 +87,11 @@ def text(self) -> str:

def html(self) -> str:
return render(
"verify_email.html", title=self.subject(), email=self.recipient, verification_link=self.verification_link
"verify_email.html",
title=self.subject(),
email=self.recipient,
verification_link=self.verification_link,
support_email="[email protected]",
)


Expand Down

0 comments on commit a2f2f19

Please sign in to comment.