AngleSharp / AngleSharp.Diffing

A library that makes it possible to compare two AngleSharp node lists and get a list of differences between them.
MIT License
37 stars 6 forks source link

Just some questions #23

Closed SebastianStehle closed 2 years ago

SebastianStehle commented 2 years ago

I have two questions:

  1. How are conditional comments compared?

I get some differences about comments and I do not understand it.

Lets say you have a comment like this:

Is it one big comment or 2 comments and 1 node?

<!--[if mso | IE]>
<table />
<![endif]-->

If it is 2 comments and 1 node, how are whitespaces handled?

  1. Can I ignore some attributes? I would like to ignore empty style attributes like style=""
SebastianStehle commented 2 years ago

About Question 2

I found it myself. It was stupid. I can just filter the results of course.