[Fix] Ascii code issue while downloading report (#5990)

This commit is contained in:
rohitwaghchaure 2018-08-21 11:21:40 +05:30 committed by Rushabh Mehta
parent 67c9f94470
commit a5d7182817

View file

@ -46,6 +46,8 @@ def make_xlsx(data, sheet_name, wb=None):
def handle_html(data):
# return if no html tags found
data = frappe.as_unicode(data)
if '<' not in data:
return data
if '>' not in data: