]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
preamble with newline for AtomPub output etc.
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 5 Aug 2017 08:42:38 +0000 (10:42 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 5 Aug 2017 08:42:38 +0000 (10:42 +0200)
plugins/OStatus/classes/Ostatus_profile.php

index 8b701faf4c1b1a9f13adfac3790d110abf82dfad..4b47197a8cfd9765b54a3f9ea483873378a09134 100644 (file)
@@ -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) {