mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
E-Mail: Do not use .prettify(), it does not preserve the original whitespsace
This commit is contained in:
@@ -414,7 +414,7 @@ def replace_images_with_cid_paths(body_html):
|
||||
|
||||
image['src'] = "cid:%s" % cid_id
|
||||
|
||||
return email.prettify(), cid_images
|
||||
return str(email), cid_images
|
||||
else:
|
||||
return body_html, []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user