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

[Bug fix] "SyntaxError: Invalid hexadecimal escape sequence" for rendering DataFrames with "\" in content #303

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

Jolanrensen
Copy link
Collaborator

Fixed bug where reading attached file using DataFrame.read("bug.csv") and rendering in notebooks would result in no rendering at all. This was caused by a "\x" not being escaped and considered an "Invalid hexadecimal escape sequence". This fix replaces "" characters with proper hex codes.

bug.csv

…g dataframes with html content containing "\"s
@Jolanrensen Jolanrensen added the bug Something isn't working label Mar 16, 2023
@Jolanrensen Jolanrensen added this to the 0.10.0 milestone Mar 16, 2023
@koperagen
Copy link
Collaborator

Hm, something is wrong with the build

@Jolanrensen Jolanrensen merged commit a32deb8 into master Mar 16, 2023
@Jolanrensen Jolanrensen deleted the escaping-backslash-html branch March 16, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants