preamble with newline for AtomPub output etc.

This commit is contained in:
Mikael Nordfeldth 2017-08-05 10:42:38 +02:00
parent 945920f24d
commit 0ef483fb4a

View File

@ -407,7 +407,7 @@ class Ostatus_profile extends Managed_DataObject
protected function notifyPrepXml($entry)
{
$preamble = '<?xml version="1.0" encoding="UTF-8" ?' . '>';
$preamble = '<?xml version="1.0" encoding="UTF-8" ?' . ">\n";
if (is_string($entry)) {
return $entry;
} else if ($entry instanceof Activity) {