summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/atom/libraries/Atom_Base.php1
-rw-r--r--modules/atom/tests/Atom_Test.php1
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/atom/libraries/Atom_Base.php b/modules/atom/libraries/Atom_Base.php
index 62fdfea1..6e0098da 100644
--- a/modules/atom/libraries/Atom_Base.php
+++ b/modules/atom/libraries/Atom_Base.php
@@ -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();
}
diff --git a/modules/atom/tests/Atom_Test.php b/modules/atom/tests/Atom_Test.php
index 28192419..ab18ed25 100644
--- a/modules/atom/tests/Atom_Test.php
+++ b/modules/atom/tests/Atom_Test.php
@@ -24,7 +24,6 @@ class Atom_Test extends Unit_Test_Case {
* http://codex.gallery2.org/Gallery3:Atom_resource_representations
*
* Uncomment one or both lines at the end of the tests to see the output.
- * (You'll have to use your editor to reformat it because there aren't any newlines.)
*/
public function atom_feed_test() {
$feed = new Atom_Feed("feed");