HtmlSanitizer icon indicating copy to clipboard operation
HtmlSanitizer copied to clipboard

Why is the AngleSharp dependency not at 1.0?

Open mganss opened this issue 2 years ago • 9 comments

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.

mganss avatar Nov 03 '23 16:11 mganss

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).

adnan-kamili avatar May 29 '24 08:05 adnan-kamili

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

mganss avatar May 29 '24 14:05 mganss

Has this topic of targeting the latest version of AngleSharp been revisited?

jamesperrin avatar Jul 29 '24 18:07 jamesperrin

@jamesperrin AngleSharp.Css is still not at 1.0 yet.

mganss avatar Jul 30 '24 10:07 mganss