Skip to content

Commit

Permalink
Remove support of escape-output
Browse files Browse the repository at this point in the history
  • Loading branch information
yalef committed Sep 25, 2023
1 parent 4ad4db8 commit e1fb9dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion import_export_extensions/admin/mixins/export_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def get_export_resource_kwargs(self, request, *args, **kwargs):
"""Provide escape settings to resource kwargs."""
kwargs = super().get_export_resource_kwargs(request, *args, **kwargs)
kwargs.update({
"escape_output": self.should_escape_output,
"escape_html": self.should_escape_html,
"escape_formulae": self.should_escape_formulae,
})
Expand Down
1 change: 0 additions & 1 deletion import_export_extensions/models/export_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ def _export_data_inner(self):
# file object (formats inherited from `BaseZipExport`)
export_data = self.file_format.export_data(
dataset=self.result,
escape_output=self.resource_kwargs.get("escape_output", False),
escape_html=self.resource_kwargs.get("escape_html", False),
escape_formulae=self.resource_kwargs.get("escape_formulae", False),
)
Expand Down

0 comments on commit e1fb9dd

Please sign in to comment.