Bug: new lines in pre blocks aren't preserved

Hello and thanks for your great Push to Kindle service! I came across a page today that doesn’t get formatted correctly by your service (well, I only looked at the preview; my Kindle is not with me right now). The page is https://www.fpcomplete.com/blog/2017/06/readert-design-pattern and the problem is that the new lines in the

 blocks on that page don’t get preserved when converted by Push to Kindle.

Hi Nathan,

Thank you for reporting this. We looked into it and found that it was a bug in the HTML parser extension we relied on. There’s a fix out for it now and so the problem should be resolved. The URL you reported now seems to preserve the pre blocks: http://fivefilters.org/kindle-it/send.php?url=https%3A%2F%2Fwww.fpcomplete.com%2Fblog%2F2017%2F06%2Freadert-design-pattern

The bug details can be found here: https://github.com/layershifter/gumbo-php/issues/7

Let us know if you notice anything else.