Add configuration option to toggle the indenting of the output HTML. Defaults to indent enabled.

This commit is contained in:
Craig Andrews
2009-12-05 01:03:04 -05:00
parent c08d7f1aa4
commit 51f0dd5e37
10 changed files with 17 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ class HTMLOutputter extends XMLOutputter
* @param boolean $indent Whether to indent output, default true
*/
function __construct($output='php://output', $indent=true)
function __construct($output='php://output', $indent=null)
{
parent::__construct($output, $indent);
}