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

CSS at-rule stripping off #331

Open
pragatibaheti opened this issue Jan 19, 2022 · 1 comment
Open

CSS at-rule stripping off #331

pragatibaheti opened this issue Jan 19, 2022 · 1 comment

Comments

@pragatibaheti
Copy link

pragatibaheti commented Jan 19, 2022

Hi. I added @counter-style in the allowed list of CSS at rules. But it is stripping off that.

<style>
        @counter-style winners-list {
            system: fixed;
            symbols: url(gold-medal.svg) url(silver-medal.svg) url(bronze-medal.svg);
            suffix: " ";
        }
    </style>

sanitizes to

<style> </style>

Have another CSS at rules stripping off here:
Attaching https://dotnetfiddle.net/VHZpLa

@mganss
Copy link
Owner

mganss commented Jan 20, 2022

@counter-style (and @font-feature-values) are not currently supported by AngleSharp.Css. I've opened an issue here: AngleSharp/AngleSharp.Css#102

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

2 participants