diff --git a/include/bbcode.php b/include/bbcode.php index fb2152036..b955d6c79 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -140,11 +140,11 @@ function bb_remove_share_information($Text, $plaintext = false, $nolink = false) } function bb_cleanstyle($st) { - return "" . $st[2] . ""; + return "" . $st[2] . ""; } function bb_cleanclass($st) { - return "" . $st[2] . ""; + return "" . $st[2] . ""; } function cleancss($input) { @@ -224,9 +224,9 @@ function bb_unspacefy_and_trim($st) { } function bb_find_open_close($s, $open, $close, $occurence = 1) { - if ($occurence < 1) { - $occurence = 1; - } + if ($occurence < 1) { + $occurence = 1; + } $start_pos = -1; for ($i = 1; $i <= $occurence; $i++) {