Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to support latest escaping logic #1638

Conversation

matthewhegarty
Copy link
Contributor

@matthewhegarty matthewhegarty commented Sep 22, 2023

Problem

The latest version of tablib supports HTML and Excel escaping, so removed the logic from our codebase.

Solution

Also, upgraded to latest version of tablib (i.e. master) so that HTML escaping is supported by default.

Acceptance Criteria

  • Updated tests

@matthewhegarty matthewhegarty changed the base branch from main to release-4 September 22, 2023 14:14
@matthewhegarty matthewhegarty changed the title Refactor export logic so that programmatic export supports escaping Refactor to support latest escaping logic Sep 22, 2023
@matthewhegarty matthewhegarty marked this pull request as ready for review September 22, 2023 15:56
Copy link

@pokken-magic pokken-magic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup, looks good to me. :)

import_export/admin.py Outdated Show resolved Hide resolved
@matthewhegarty matthewhegarty merged commit 321cbb2 into django-import-export:release-4 Sep 23, 2023
11 checks passed
@matthewhegarty matthewhegarty deleted the issue-1548-refactor-escaping branch September 23, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export workflow is different when exporting via Admin UI vs programatically
2 participants