Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Add more information about whitelisting. #36

@Mighty683

Description

@Mighty683

Is your feature request related to a problem? Please describe.

pseudo-elements like :before are considered as children e.g selector:
i.flag.us:before

When I wanted whitelist selectors connected with flag icons which are build like one above I
used whitelistPatterns: [/flag/] pattern but it didn't work.

i.flag - selector passed test
i.flag.us:before - selector was purged

I had to use: whitelistPatternsChildren: [/flag/]

Describe the solution you'd like
It would be good if such information would be added in documentation, maybe add an example?

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