cygri / htmldiff

A command-line script that shows text changes between two HTML files
MIT License
61 stars 27 forks source link

Python3 compatibility #10

Closed garethstockwell closed 4 years ago

garethstockwell commented 4 years ago

HTMLParser has been renamed html.parser in Python3: https://docs.python.org/2/library/htmlparser.html https://docs.python.org/3/library/html.parser.html

Ensure that bytes objects are decoded to strings before passing to functions which expect a string.