X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fquoteconvert.php;h=33e8843b0b5c69d2fba23073052a0ccb727f6081;hb=6161ceff649fd52cb6cdfe14ebe5fdd35f6854a9;hp=2a6d28370a3910cbb4a34fc470526fb48a20eb16;hpb=1872cf2b2d14be5c4b8fbc9e2cf61f9fcd9e2f88;p=friendica.git diff --git a/include/quoteconvert.php b/include/quoteconvert.php index 2a6d28370a..33e8843b0b 100644 --- a/include/quoteconvert.php +++ b/include/quoteconvert.php @@ -83,7 +83,7 @@ function removetofu($message) $start = 0; - while(($pos = strpos($message, '[quote', $start)) > 0) { + while (($pos = strpos($message, '[quote', $start)) > 0) { $quotes[$pos] = -1; $start = $pos + 7; $startquotes++; @@ -92,7 +92,7 @@ function removetofu($message) $endquotes = 0; $start = 0; - while(($pos = strpos($message, '[/quote]', $start)) > 0) { + while (($pos = strpos($message, '[/quote]', $start)) > 0) { $start = $pos + 7; $endquotes++; } @@ -104,7 +104,7 @@ function removetofu($message) $start = 0; - while(($pos = strpos($message, '[/quote]', $start)) > 0) { + while (($pos = strpos($message, '[/quote]', $start)) > 0) { $quotes[$pos] = 1; $start = $pos + 7; } @@ -129,4 +129,3 @@ function removetofu($message) return($message); } -?>