caxy / php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML. Includes support for comparing complex lists and tables
http://php-htmldiff.caxy.com
GNU General Public License v2.0
202 stars 51 forks source link

Handling HTML Comments #90

Open atomicreach opened 4 years ago

atomicreach commented 4 years ago

It does not handle comments properly. Ideally, it will be great if there is an option to skip certain tags. Comments appear like this: <!-- /wp:paragraph -- class="diffmod"> It breaks the format completely, and browser will render the above string.