Make the generated XML nicely formatted.

This commit is contained in:
Jozef Selesi
2008-11-22 20:00:40 +00:00
parent bb6eeb63bb
commit 47442f9dd2
2 changed files with 1 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ class Atom_Base_Core {
public function as_xml() {
$this->add_children_to_base_element();
$this->dom->formatOutput = true;
return $this->dom->saveXML();
}