CakePHP do help us a lot with its own 'Form' and 'HTML' helpers but it often outputs some very ugly and hard to read HTML.
This little trick will make it a lot cleaner.
Create a file named app_helper.php in your app's root directory.
Next add this function to it:
function output($string) {
return parent::output($string . '\n');
}
0 Comment(s)