refactor: 🔨 Parse html data in Data exporter
This commit is contained in:
parent
0b7c4b0902
commit
769952ecf5
1 changed files with 2 additions and 1 deletions
|
|
@ -446,7 +446,8 @@ class DataExporter:
|
|||
value = format_datetime(value)
|
||||
elif fieldtype == "Duration":
|
||||
value = format_duration(value, df.hide_days)
|
||||
|
||||
elif fieldtype == "Text Editor" and value:
|
||||
value = frappe.core.utils.html2text(value)
|
||||
row[_column_start_end.start + i + 1] = value
|
||||
|
||||
def build_response_as_excel(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue