Report#41:announcements / news: text view, missing blanks in parsed text (bbcode) - thx to NCurk for providing this fix

This commit is contained in:
Kevin
2008-01-27 18:51:08 +00:00
parent 443f34d2ab
commit 6a903e44f9

View File

@@ -467,7 +467,7 @@ function get_sub_taged_string($str, $bbuid, $maxlen) {
$ntext .= $sr;
$last = $sr;
}
$sl = trim(substr($sl, strlen($sr), strlen($sl)-strlen($sr)));
$sl = substr($sl, strlen($sr), strlen($sl)-strlen($sr));
}
$ret = trim($ret) . '...';