Generate a raw preview of files which outputs formatting
<p>Building a <code>Raw</code> view of text in my application, like pastebin does:</p>

<p><a href="http://pastebin.com/raw.php?i=nfVT7b0Z" rel="nofollow">http://pastebin.com/raw.php?i=nfVT7b0Z</a></p>

<p>So, I wrote the script which just echos out the <code>$contents</code>, but newlines, spaces, and tabes are not being proceeded. Looking at the pastebin source above, you will notice they don't wrap the text in any HTML tags such as <code>&lt;pre&gt;</code>. How then are they getting the text to format?</p>

<p>Are they using some special header?</p>
