A library for comparing two HTML files/snippets and highlighting the differences using simple HTML. Includes support for comparing complex lists and tables
When a diffmod class was added to a self-closing tag (in the tests mostly <br />) it naively added the class attribute by replacing the closing bracket, this resulted in <br / class=“diffmod”> which is invalid HTML.
Some tests actually had this mistake hidden in the results making it easy to replicate and fix the issue.
When a diffmod class was added to a self-closing tag (in the tests mostly
<br />
) it naively added the class attribute by replacing the closing bracket, this resulted in<br / class=“diffmod”>
which is invalid HTML.Some tests actually had this mistake hidden in the results making it easy to replicate and fix the issue.