X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fmsgclean.php;h=9e8ebed790ef23ef274a41528a93078c6cdb6165;hb=0541a62134e8af948f0e4c713a42ca70eaa64f3f;hp=3b5ed5487de87d1837cba6c4c7db3259b572244f;hpb=7b352f3f74b045690cdeae507b609f7a9cc8db03;p=friendica.git diff --git a/include/msgclean.php b/include/msgclean.php index 3b5ed5487d..9e8ebed790 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)); } -?>