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

Script does not remove @ links #3

Open
hamzaehsan97 opened this issue May 1, 2021 · 1 comment
Open

Script does not remove @ links #3

hamzaehsan97 opened this issue May 1, 2021 · 1 comment

Comments

@hamzaehsan97
Copy link
Owner

Not removing not-CSS rules such as links to other stylesheets, crashes the tiny CSS library. Either clean the CSS before parsing or add try-catch statements asking end-user to remove such statements before adding CSS.

@hamzaehsan97
Copy link
Owner Author

This was partially fixed in the latest commit. If the link is the first line of the CSS file it will get ignored currently.

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

1 participant