From 05d255f976ca297b0a629b520b63b9017f54d9ea Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Wed, 6 Nov 2019 16:27:07 +0530 Subject: [PATCH] fix: add iframe tag to acceptable elements --- frappe/utils/html_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/html_utils.py b/frappe/utils/html_utils.py index 5f3a6b4338..e5513364b6 100644 --- a/frappe/utils/html_utils.py +++ b/frappe/utils/html_utils.py @@ -117,7 +117,7 @@ acceptable_elements = [ 'p', 'pre', 'progress', 'q', 's', 'samp', 'section', 'select', 'small', 'sound', 'source', 'spacer', 'span', 'strike', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'textarea', 'time', 'tfoot', - 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'video' + 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'video', 'iframe' ] mathml_elements = [