merge r16083 from branch 2.4 to trunk
tabulation is not the expected indentation git-svn-id: http://piwigo.org/svn/trunk@16084 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
32ecb677a9
commit
5d6912c45c
1 changed files with 5 additions and 5 deletions
|
@ -59,11 +59,11 @@ class PwgXmlWriter
|
|||
}
|
||||
$this->_indentLevel++;
|
||||
$this->_indent();
|
||||
$diff = ord($name[0])-ord('0');
|
||||
if ($diff>=0 && $diff<=9)
|
||||
{
|
||||
$name='_'.$name;
|
||||
}
|
||||
$diff = ord($name[0])-ord('0');
|
||||
if ($diff>=0 && $diff<=9)
|
||||
{
|
||||
$name='_'.$name;
|
||||
}
|
||||
$this->_output( '<'.$name );
|
||||
$this->_lastTagOpen = true;
|
||||
array_push( $this->_elementStack, $name);
|
||||
|
|
Loading…
Add table
Reference in a new issue