html-differ
html-differ copied to clipboard
Ignore leading and trailing white space inside certain or all attributes?
I am having issues since these elements are not considered equivalent?
<div style=" "></div>
<div style=""></div>
<div style="color:red "></div>
<div style="color:red"></div>
<div style=" color:red"></div>
<div style="color:red"></div>
<div style=" color:red "></div>
<div style="color:red"></div>
I'd like to add that
<div style=""></div>
and
<div></div>
should also be equivalent.