X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Fmsgclean.php;h=50eb46368fd56730b711ae66e206f62f9a2a5dd6;hb=6680ce1dd77b5b4b6fbfcd6d5b58b65710e52079;hp=de7dacca29ba1510eab76e76e3230e498fc7ae50;hpb=9c2c4839968169a191084d6d2b0d629d82430e67;p=friendica.git diff --git a/include/msgclean.php b/include/msgclean.php index de7dacca29..50eb46368f 100644 --- a/include/msgclean.php +++ b/include/msgclean.php @@ -154,7 +154,7 @@ function removelinebreak($message) $lines = array(); $lineno = 0; - foreach ($arrbody as $i => $line) { + foreach($arrbody as $i => $line) { $currquotelevel = 0; $currline = $line; while ((strlen($currline)>0) and ((substr($currline, 0, 1) == '>') @@ -187,7 +187,7 @@ function removelinebreak($message) (substr(trim($nextline), 0, 7) == 'http://') or (substr(trim($nextline), 0, 8) == 'https://')); - if (!$specialchars) + if (!$specialchars) $specialchars = ((substr(rtrim($line), -1) == '-') or (substr(rtrim($line), -1) == '=') or (substr(rtrim($line), -1) == '*') or @@ -222,4 +222,3 @@ function removelinebreak($message) return(implode("\n", $lines)); } -?>