fixed intending

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-04-14 15:26:52 +02:00
parent 83d6d68efd
commit 753b432ab2
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -140,11 +140,11 @@ function bb_remove_share_information($Text, $plaintext = false, $nolink = false)
}
function bb_cleanstyle($st) {
return "<span style=\"" . cleancss($st[1]) . ";\">" . $st[2] . "</span>";
return "<span style=\"" . cleancss($st[1]) . ";\">" . $st[2] . "</span>";
}
function bb_cleanclass($st) {
return "<span class=\"" . cleancss($st[1]) . "\">" . $st[2] . "</span>";
return "<span class=\"" . cleancss($st[1]) . "\">" . $st[2] . "</span>";
}
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++) {