diff --git a/formats/AtomFormat.php b/formats/AtomFormat.php index 6c5d7fcc..62ab3818 100644 --- a/formats/AtomFormat.php +++ b/formats/AtomFormat.php @@ -65,7 +65,7 @@ class AtomFormat extends FormatAbstract{ } if (empty($entryContent)) - $entryContent = $entryTitle; + $entryContent = ' '; $entryAuthor = ''; if ($item->getAuthor()) { diff --git a/tests/samples/expectedAtomFormat/feed.emptyItems.xml b/tests/samples/expectedAtomFormat/feed.emptyItems.xml index 989893fa..18572fac 100644 --- a/tests/samples/expectedAtomFormat/feed.emptyItems.xml +++ b/tests/samples/expectedAtomFormat/feed.emptyItems.xml @@ -17,14 +17,14 @@ 2000-01-01T12:00:00+00:00 2000-01-01T12:00:00+00:00 urn:sha1:29f59918d266c56a935da13e4122b524298e5a39 - Sample Item #1 + Sample Item #2 2000-01-01T12:00:00+00:00 2000-01-01T12:00:00+00:00 urn:sha1:edf358cad1a7ae255d6bc97640dd9d27738f1b7b - Sample Item #2 +