preamble with newline for AtomPub output etc.
This commit is contained in:
parent
945920f24d
commit
0ef483fb4a
@ -407,7 +407,7 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
|
|
||||||
protected function notifyPrepXml($entry)
|
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)) {
|
if (is_string($entry)) {
|
||||||
return $entry;
|
return $entry;
|
||||||
} else if ($entry instanceof Activity) {
|
} else if ($entry instanceof Activity) {
|
||||||
|
Loading…
Reference in New Issue
Block a user