X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fmsgclean.php;h=de7dacca29ba1510eab76e76e3230e498fc7ae50;hb=5a6da8b447430174ae231a3b8203fd4bd8416cc1;hp=eabb47788a9b622775c4a1f26a1ab7d400b81922;hpb=8a1f175df022e2fc2c2162aa314ea34454482d48;p=friendica.git diff --git a/include/msgclean.php b/include/msgclean.php index eabb47788a..de7dacca29 100644 --- a/include/msgclean.php +++ b/include/msgclean.php @@ -127,9 +127,9 @@ function removesig($message) if (($sigpos < $quotepos) and ($sigpos != 0)) return(array('body' => $message, 'sig' => '')); - // To-Do: Regexp umstellen, so dass auf 1 oder kein Leerzeichen - // geprueft wird - //$message = str_replace("\n--\n", "\n-- \n", $message); + /// @TODO Regexp umstellen, so dass auf 1 oder kein Leerzeichen + /// geprueft wird + /// $message = str_replace("\n--\n", "\n-- \n", $message); $pattern = '/(.*)[\r\n]-- [\r\n](.*)/is'; @@ -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) == '>')