Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Fails to add prefix for class names using characters escaping (with backslash) #71

Open
aczekajski opened this issue Oct 23, 2017 · 0 comments

Comments

@aczekajski
Copy link

In CSS, it is possible to escape characters to use them in class name. For example if you want a class name that starts with a digit, say "1st", it is totally valid to escape it, ending with a CSS selector .\31 st (notice the space inside a selector that only indicates the end of escaping sequence). Then you can use it normally, as <div class="1st" />. The same applies to SVG, and it happens for example when SVG files are being exported from Adobe Illustrator with "unique classnames" option.

The loader fails to add a prefix to selector in <style> segment if it contains backslash, ending with an unstyled elements in SVG.

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

No branches or pull requests

1 participant