Welcome Guest, Not a member yet? Register   Sign In
Newline on CI functions?
#1

[eluser]veritascs[/eluser]
The CI functions that output html don't have a newline on them so when I view source everything is on a single line. I know I could easily add a <code> . '\n'; </code> but I was wondering if there was a different global approach? Or am I just being <i>too</i> lazy?
#2

[eluser]veritascs[/eluser]
http://ellislab.com/forums/viewthread/142218/

Good answers here. Basically, formatting the output in php is only going to slow your site down. Browser plugins should format the html for you (ie firebug).




Theme © iAndrew 2016 - Forum software by © MyBB