jekyll/jekyll-sitemap — pull request #40 by pathawks (2014-09-06 00:13:51+00:00)
Title: Strip extra whitespace from output

Implementation of my comment in [#37](https://github.com/jekyll/jekyll-sitemap/pull/37#issuecomment-54694831)

This will remove all blank newlines from the sitemap before it is written. This will not make the output file meaningfully smaller (especially if the output will be gzipped), but it does enhance the readability of the output.

My previous sitemap:
````xml

http://example.com/post1.html

2014-08-22T18:57:00-05:00

0.8

http://example.com/post2.html

2014-04-17T00:00:00-05:00

0.8

...
````

My sitemap with blank lines stripped:
````xml

http://example.com/post1.html
2014-08-22T18:57:00-05:00
0.8

http://example.com/post2.html
2014-04-17T00:00:00-05:00
0.8

...
````