diff options
Diffstat (limited to 'framework/Xml')
-rw-r--r-- | framework/Xml/TXmlDocument.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php index 0b44214e..d4561734 100644 --- a/framework/Xml/TXmlDocument.php +++ b/framework/Xml/TXmlDocument.php @@ -222,7 +222,7 @@ class TXmlElement extends TComponent else return $prefix."<{$this->_tagName}$attr />"; } - + /** * Magic-method override. Called whenever this element is used as a string. * <code> @@ -248,9 +248,9 @@ class TXmlElement extends TComponent '<'=>'<', '&'=>'&', '"'=>'"', - "\r"=>'
', + "\r"=>'
', "\t"=>'	', - "\n"=>'
')); + "\n"=>'
')); } } @@ -433,7 +433,7 @@ class TXmlDocument extends TXmlElement $encoding=empty($this->_encoding)?'':' encoding="'.$this->_encoding.'"'; return "<?xml{$version}{$encoding}?>\n".$this->toString(0); } - + /** * Magic-method override. Called whenever this document is used as a string. * <code> |