Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
azliu0 committed May 8, 2024
1 parent dec534c commit 7bb876f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/controllers/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,7 @@ def send_email():
if not thread:
return {"message": "Thread not found"}, 400

# replace <br /> with \n in body
clean_text = clean_up(data["body"])
# breaked_line_text = data["body"].replace("<br/>", "\n")
# clean_regex = re.compile("<.*?>")
# clean_text = re.sub(clean_regex, " ", breaked_line_text)
context = {"body": data["body"]}
template = env.get_template("template.html")
body = template.render(**context)
Expand Down

0 comments on commit 7bb876f

Please sign in to comment.