Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Wrong espcaping of special characters in selector #110
Comments
|
Hi @olejorgenb, thanks for flagging this. Can you provide a website where we can reproduce the issue? |
|
No, the site is not public, but I would guess it's easy enough to reproduce using a class name containing an escaped There's no escaping of the CSS class names are allowed to contain The class names are generated by material UI's JSS. The react-redux Connect HOC add brackets to the component name which JSS use as a basis for making the class name. Of course - using these class names are not really robust, so a proper test wouldn't really rely on these. |
|
Thanks for the information @olejorgenb. I would gladly take a PR for it! Otherwise, I'm going to keep an eye on it and fix it when we have the bandwidth. |


The following was generated by headless-recorder
But since
\already means escape next char in javascript the\also need escaping: