]> git.mxchange.org Git - friendica.git/commitdiff
Update deprecated passing glue string after array in implode in Content\Text\HTML
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 19 Jan 2020 15:25:18 +0000 (10:25 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 19 Jan 2020 15:25:18 +0000 (10:25 -0500)
src/Content/Text/HTML.php

index 65d971489acccf6628fb14a38d7c265f1affcb5f..a14403d5ff1cbde45aaa7a2cf4b4bdd1e4a928d7 100644 (file)
@@ -510,7 +510,7 @@ class HTML
 
                $newlines[] = $line;
 
-               return implode($newlines, "\n");
+               return implode("\n", $newlines);
        }
 
        private static function quoteLevel($message, $wraplength = 75)
@@ -546,7 +546,7 @@ class HTML
                        }
                }
 
-               return implode($newlines, "\n");
+               return implode("\n", $newlines);
        }
 
        private static function collectURLs($message)