We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0ef483fb authored by mattl's avatar mattl

preamble with newline for AtomPub output etc.

parent 945920f2
...@@ -407,7 +407,7 @@ class Ostatus_profile extends Managed_DataObject ...@@ -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) {
......
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