Merge pull request #6187 from shreyashah115/allow-images
Allow img src having data protocol
This commit is contained in:
commit
f4c9d5d2b2
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ def clean_email_html(html):
|
|||
'font-size', 'font-weight', 'font-family', 'text-decoration',
|
||||
'line-height', 'text-align', 'vertical-align'
|
||||
],
|
||||
protocols=['cid', 'http', 'https', 'mailto'],
|
||||
protocols=['cid', 'http', 'https', 'mailto', 'data'],
|
||||
strip=True, strip_comments=True)
|
||||
|
||||
def clean_script_and_style(html):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue