Sani

Results 9 comments of Sani

I tried a bit, and decided it's probably easiest to just subclass the HTMLRenderer class and overwrite the renderBlock method (I used python3, so the super() thing might be different...

https://github.com/gawel/pyquery/blob/master/pyquery/pyquery.py#L1327 tag.tail is the [text](http://lxml.de/api/lxml.etree._Element-class.html#tail) after the tag, so this probably needs escaping. Line 1322 probably too.

Then instead of arbitrary keyword arguments, a single optional `data` argument, that can be passed to the setup function if present. Would keep the signature clean.

Hm seems like headless ships it's own parseFunc.

The only thing I could think of is to not make fsc a _hard_ requirement. As different extensions can ship their own parseFunc, the only requirement should (maybe) be "an...

Adding `fixedContentPos: true` option to the mfp setup made the site fixed in all views for me.

I had the same issue with a server that responds with "Connection: Upgrade". Requests library could fetch the page without problems, and the main difference was, that requests sends "Connection:...

Note: the _Response payload is not completed_ error can also happen, if the connection got unexpectedly interrupted for some reason. That includes unstable connections, or server side measures against (potentially...

Do you intend to make it python3 only? If so, I might clean up some legacy parts.