From e0cf3f367b9334951f32744698768d5c51a5dcd0 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 1 Nov 2018 19:06:30 +0530 Subject: [PATCH] fix(Quill): Add data-row attr to whitelist - data-row attribute is added by Quill for retaining table structure --- 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 f788004be4..fe06ec7c43 100644 --- a/frappe/utils/html_utils.py +++ b/frappe/utils/html_utils.py @@ -158,7 +158,7 @@ acceptable_attributes = [ 'step', 'style', 'summary', 'suppress', 'tabindex', 'target', 'template', 'title', 'toppadding', 'type', 'unselectable', 'usemap', 'urn', 'valign', 'value', 'variable', 'volume', 'vspace', 'vrml', - 'width', 'wrap', 'xml:lang' + 'width', 'wrap', 'xml:lang', 'data-row' ] mathml_attributes = [