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

Why is the AngleSharp dependency not at 1.0? #491

Open
mganss opened this issue Nov 3, 2023 · 2 comments
Open

Why is the AngleSharp dependency not at 1.0? #491

mganss opened this issue Nov 3, 2023 · 2 comments
Labels

Comments

@mganss
Copy link
Owner

mganss commented Nov 3, 2023

TL;DR HtmlSanitizer depends on AngleSharp.Css whose stable version is not at 1.0 yet and is incompatible with AngleSharp 1.0. If you want to use AngleSharp 1.0, use the latest prerelease version of HtmlSanitizer.

See also #87, #451 for in-depth discussions of this topic.

@adnan-kamili
Copy link

I am unable to upgrade the PreMailer.Net 2.6.0 -> AngleSharp (>= 1.1.0)
because HtmlSanitizer 8.0.865 depends on AngleSharp (= 0.17.1).

@mganss
Copy link
Owner Author

mganss commented May 29, 2024

@adnan-kamili Use the prerelease version of HtmlSanitizer (currently 8.1.866-beta)

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

No branches or pull requests

2 participants