This PR fixes #584 by performing better matching of malformed HTML in _hash_html_block_sub.
The issue occurred when the closing angle bracket was on a newline compared to the rest of the tag. I fixed this by tweaking the regex to allow whitespace and newlines between the main body of the tag and the closing bracket
This PR fixes #584 by performing better matching of malformed HTML in
_hash_html_block_sub
.The issue occurred when the closing angle bracket was on a newline compared to the rest of the tag. I fixed this by tweaking the regex to allow whitespace and newlines between the main body of the tag and the closing bracket