Skip to content

Commit

Permalink
Remove <code> tags from emails
Browse files Browse the repository at this point in the history
  • Loading branch information
shreve committed Aug 1, 2024
1 parent 64a8ad6 commit 364e182
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mads/build/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def strip_html(string):
.replace("<br/>", "\n")
.replace("</li>", "\n")
.replace("</p>", "\n")
.replace("<code>", "`")
.replace("</code>", "`")
)

# Don't allow double blank lines
Expand Down

0 comments on commit 364e182

Please sign in to comment.