Having read lines from a js file using php is it possible to preserve indentation when regurgitating it as html - see glasier.hk - code 开发者_JAVA技巧tab? Thanks
replace spaces ' ' to
or put your code in 'PRE' html tags
<pre>
...
</pre>
If you want to publixh readable code on the internet, you can do a lot better than jut preserving formating for the same effort - see GeSHi
精彩评论