Oliver Nassar

I can be reached at onassar@gmail.com.

For my open source work, check out github.com/onassar


Python HTMLDiff Usage Review

View more posts

Next up in my review of HTMLDiff projects is a Python variant, which can be found on GitHub as cygri/htmldiff.

boom

Advantages

Disadavantages

 

  <style type="text/css">
  <!--
      span {
          color: red;
      }
  -->
  </style>

As you may notice, this is valid styling that ought to stay in the document, but is instead stripped out.

Endgame

I'm currently using this on my project. The stripping of the comments from the document means there's a good chance I won't use it in the end, but if that's not an issue for you, or you can control your markup to not have html comments, this library has my blessing.