Consider the above source input. The sanitizer removes "px" in the output, which is unnecessary and creates comparing very hard when need to know if sanitizer has changed the source or not.
No, unfortunately it's not currently. The style is parsed by AngleSharp and then rendered back out which results in these subtle differences in the output.
<p style="margin: 0px;">TEST<p>
Consider the above source input. The sanitizer removes "px" in the output, which is unnecessary and creates comparing very hard when need to know if sanitizer has changed the source or not.
Is there a way to turn off this default behavior?