etcet/HNES — pull request #50 by STRML (2014-03-12 09:07:55+00:00)
Title: Use `white-space: pre-wrap` in comments to improve display.

Thanks for a great extension, it really improves HN.

This PR addresses two formatting annoyances I'd really like to fix.

### Wrapped Comments

One thing that bothers me a lot about HN is its comment formatting. It requires an extra newline between paragraphs that many commenters fail to use, causing whitespace to be lost between lines. This happens especially often with bulleted lists; they look fine in the editor, bad on the page.

This PR fixes word wrapping on comments:

Original (no HNES):
![original](http://www.ultraimg.com/images/cPRYE.png)

HNES:
![HNES](http://www.ultraimg.com/images/BniUK.png)

HNES with this PR:
![PR](http://www.ultraimg.com/images/p5AdW.png)

### Wrapped pre/code blocks

As you know, indented content in HN is placed inside a <pre><code>{content}</code></pre> block. This creates a very annoying horizontal scrollbar that makes the content unreadable. By adding `white-space: pre-wrap;` and a tiny bit of left margin, we can make them look much better.

HNES:
![HNES](http://www.ultraimg.com/images/2fnoH.png)

HNES with this PR:
![PR](http://www.ultraimg.com/images/IBizu.png)