Coder Social home page Coder Social logo

Comments (16)

mganss avatar mganss commented on June 16, 2024

I started a port to AngleSharp (AngleSharp branch). A large number of tests are not passing yet, though. This is mostly due to AngleSharp/AngleSharp#101.

from htmlsanitizer.

304NotModified avatar 304NotModified commented on June 16, 2024

👍

from htmlsanitizer.

304NotModified avatar 304NotModified commented on June 16, 2024

I see some discussion at the Github issue of AngleSharp. Do you think they will solve the things that are needed for the replacement?

from htmlsanitizer.

mganss avatar mganss commented on June 16, 2024

I've just pushed an update to the AngleSharp branch with only around 10 tests still failing. I think most if not all of these only have to be changed so that the expected output matches the actual output.

from htmlsanitizer.

thefringeninja avatar thefringeninja commented on June 16, 2024

I see that there is a nuget package for this https://www.nuget.org/packages/HtmlSanitizer/3.1.67-beta and that all tests of the AngleSharp branch pass on my machine. Can this be merged back into master yet?

from htmlsanitizer.

mganss avatar mganss commented on June 16, 2024

I'm planning to do this in a couple of days if no issues pop up during that time. Does the beta work for your use case?

from htmlsanitizer.

thefringeninja avatar thefringeninja commented on June 16, 2024

Yes it does, and I don't mind depending on a pre release package for the
time being. Take your time :) I'll report any issues here if I get them.

On Thu, Nov 26, 2015 at 3:22 PM, Michael Ganss [email protected]
wrote:

I'm planning to do this in a couple of days if no issues pop up during
that time. Does the beta work for your use case?


Reply to this email directly or view it on GitHub
#34 (comment)
.

Sent from my regular computer
http://twitter.com/thefringeninja
http://www.thefringeninja.com/

from htmlsanitizer.

rmichela avatar rmichela commented on June 16, 2024

Any plans on merging the anglesharp branch to master?

from htmlsanitizer.

mganss avatar mganss commented on June 16, 2024

Yes, any day now. I want to include #51 and then merge to master.

from htmlsanitizer.

StanislavPrusac avatar StanislavPrusac commented on June 16, 2024

(y) for AngleSharp

from htmlsanitizer.

mganss avatar mganss commented on June 16, 2024

3.1.76 uses AngleSharp instead of CsQuery.

from htmlsanitizer.

tiesont avatar tiesont commented on June 16, 2024

@mganss I realize the train has left the station already on this, but given that AngleSharp seems to be the root cause of a disproportionate number of new issues, are you really gaining anything over using CsQuery? I personally found CsQuery easier to use; does AngleSharp provide functionality not present in CsQuery, or is it just that AngleSharp is actively maintained?

from htmlsanitizer.

mganss avatar mganss commented on June 16, 2024

It's mostly because AngleSharp is actively maintained. Just yesterday I opened two PRs and got a response within minutes. In contrast, look what happened with #36.

I also found CsQuery easier to use. I don't think that for our use case there is functionality in AngleSharp that's missing from CsQuery. But there's one aspect I have come to appreciate in AngleSharp: It does exactly the same as a browser, even the API is mostly identical, i.e. you can take any HTML snippet and try it in the browser console.

from htmlsanitizer.

tiesont avatar tiesont commented on June 16, 2024

Fair enough. Hopefully, once AngleSharp gets to the 1.0 milestone, they'll realize they can't keep introducing breaking changes. Thanks for the response.

from htmlsanitizer.

304NotModified avatar 304NotModified commented on June 16, 2024

. Hopefully, once AngleSharp gets to the 1.0 milestone, they'll realize they can't keep introducing breaking changes.

Couldn't agree more!

PS: CSQuery is also not ported to netstandard, and that is of course important for the (near) future.

from htmlsanitizer.

304NotModified avatar 304NotModified commented on June 16, 2024

Looks like 1.0 is near for AngleSharp:

image

from htmlsanitizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.