![]() |
HTML Output, Clean formatting - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: HTML Output, Clean formatting (/showthread.php?tid=26664) Pages:
1
2
|
HTML Output, Clean formatting - El Forum - 01-20-2010 [eluser]brianw1975[/eluser] exactly what I was going to suggest, and I was going to take it a bit further and say to put a hook in place that that uses the display_override point to run tidy on the full output before sending it to the browser. HTML Output, Clean formatting - El Forum - 01-20-2010 [eluser]Ian Jones[/eluser] Cheers guys, all useful responses thank you. HTML Output, Clean formatting - El Forum - 01-20-2010 [eluser]John_Betong[/eluser] [quote author="Ian Jones" date="1264066859"]Cheers guys, all useful responses thank you.[/quote] I still think that to install the Firefox addon is the best bet because it easily validates your HTML code. (Any errors or warnings gives your browser extra work to find the best option to overcome the errors). Also to use the PHP code to remove all extra spaces and line-feeds which will no doubt make the page load faster. |