From fbd5f81c0e9cd332ee402a90a12ebd90b762a458 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 1 Oct 2002 22:13:09 +0000 Subject: [PATCH] set indentstring to '' for var2xml and to "\t" for the rest --- etemplate/inc/class.xmltool.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.xmltool.inc.php b/etemplate/inc/class.xmltool.inc.php index 87071144fa..a997b7a894 100644 --- a/etemplate/inc/class.xmltool.inc.php +++ b/etemplate/inc/class.xmltool.inc.php @@ -2,6 +2,7 @@ function var2xml($name, $data) { $doc = new xmltool(); + $doc->indentstring = ''; return $doc->import_var($name,$data,True,True); } @@ -18,7 +19,7 @@ /* for nodes */ var $attributes = Array(); var $comments = Array(); - var $indentstring = " "; + var $indentstring = "\t"; /* start the class as either a root or a node */ function xmltool ($node_type = 'root', $name='')