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

Escapes don't work. Adding even a single escaped forward slash in a class basically just crashes the whole thing. #56

Open
blueshack112 opened this issue Sep 9, 2021 · 0 comments

Comments

@blueshack112
Copy link

blueshack112 commented Sep 9, 2021

image
This example above works perfectly.

image
Adding a class name like this in the css that is loaded by inlinecss causes an error. I don't have the time to look into code but I'm guessing it is either replaced by a '\\' (lol I first used double backslashes and even GitHub's editor escaped those into a single blackslash. Edited it to four backslashes.) by python (autoescape of python string) or python string reads as just '/', essentially fulfilling the purpose of the escape at an earlier stage then where it was supposed to be used.

image
This is the error I get

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant