From 2677e54e9dbf2d82bf9eaa7b0d50199eff7dd7c6 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 11 Apr 2019 14:53:48 +0530 Subject: [PATCH] fix(xlsx): Fix for handle failed html parse --- frappe/utils/xlsxutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/xlsxutils.py b/frappe/utils/xlsxutils.py index ac1f743b55..82d631af4c 100644 --- a/frappe/utils/xlsxutils.py +++ b/frappe/utils/xlsxutils.py @@ -66,7 +66,7 @@ def handle_html(data): value = obj.handle(h) except Exception: # unable to parse html, send it raw - return value + return data value = ", ".join(value.split(' \n')) value = " ".join(value.split('\n'))