forked from CGM_Public/pretix_original
Change BS-parser to lxml insted of html5lib, do prevent another dependency
This commit is contained in:
@@ -344,7 +344,7 @@ def render_mail(template, context):
|
||||
|
||||
def replace_images_with_cid_paths(body_html):
|
||||
if body_html:
|
||||
email = BeautifulSoup(body_html, "html5lib")
|
||||
email = BeautifulSoup(body_html, "lxml")
|
||||
image_counter = 1
|
||||
cid_images = []
|
||||
for image in email.findAll('img'):
|
||||
|
||||
Reference in New Issue
Block a user