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

Support compare content #60

Open
latot opened this issue May 22, 2024 · 0 comments
Open

Support compare content #60

latot opened this issue May 22, 2024 · 0 comments

Comments

@latot
Copy link

latot commented May 22, 2024

Actually the lib does not have a way to compare the content, eq will return False to two parsed objects even if they have the same content.

Would be good be able to have comparison functions, ideally two of them:

  • Compare if the content represent the same html
  • Compare strictly if has the same data

The main different on them would be like compare

<div>
</div>

And

<div><div>

Both represent the same html, but has different data.

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