forked from CGM_Public/pretix_original
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
|
image['src'] = "cid:%s" % cid_id
|
||||||
|
|
||||||
return email.prettify(), cid_images
|
return str(email), cid_images
|
||||||
else:
|
else:
|
||||||
return body_html, []
|
return body_html, []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user