diff --git a/frappe/utils/html_utils.py b/frappe/utils/html_utils.py index edd2afe8d9..f788004be4 100644 --- a/frappe/utils/html_utils.py +++ b/frappe/utils/html_utils.py @@ -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):