Comment

AN

I like this.

The proxy app works better for me if I change the call to etree.tostring to:

etree.tostring(page, pretty_print=True, method='html')

Which *seems* to stop it from truncating tags so the CLOSING_REGEX replacement isn't required.

Replies

Peter Bengtsson

Good point! I'll add that.

Peter Bengtsson

Done now. Not going to make a new release for just that.