From: Mikael Nordfeldth Date: Sat, 5 Aug 2017 08:42:38 +0000 (+0200) Subject: preamble with newline for AtomPub output etc. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0ef483fb4a77d0bace9db45cc10dd60a5b144d9b;p=quix0rs-gnu-social.git preamble with newline for AtomPub output etc. --- 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) {