From 0ef483fb4a77d0bace9db45cc10dd60a5b144d9b Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 5 Aug 2017 10:42:38 +0200 Subject: [PATCH] preamble with newline for AtomPub output etc. --- plugins/OStatus/classes/Ostatus_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index 8b701faf4c..4b47197a8c 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -407,7 +407,7 @@ class Ostatus_profile extends Managed_DataObject protected function notifyPrepXml($entry) { - $preamble = ''; + $preamble = '\n"; if (is_string($entry)) { return $entry; } else if ($entry instanceof Activity) { -- 2.39.5