WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
This repository was 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

@aczekajski

Description

@aczekajski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions