Signed-off-by: Roland Haeder <roland@mxchange.org>
}
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) {
}
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++) {