fix: illegal characters in excel export
This commit is contained in:
parent
20e6957312
commit
a0991b62a3
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ from openpyxl.workbook.child import INVALID_TITLE_REGEX
|
|||
import frappe
|
||||
from frappe.utils.html_utils import unescape_html
|
||||
|
||||
ILLEGAL_CHARACTERS_RE = re.compile(r"[\000-\010]|[\013-\014]|[\016-\037]")
|
||||
ILLEGAL_CHARACTERS_RE = re.compile(r"[\000-\010]|[\013-\014]|[\016-\037]|\uFEFF|\uFFFE|\uFFFF|[\uD800-\uDFFF]")
|
||||
|
||||
|
||||
# return xlsx file object
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue