Commit 0ef483fb authored by mmn's avatar mmn

preamble with newline for AtomPub output etc.

parent 945920f2
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment