Fix [ and ] brackets and whitespace trimming
This commit is contained in:
parent
fe9a8a1074
commit
ea06613d44
@ -48,6 +48,8 @@
|
|||||||
if(!preg_match('/\] $/', $body))
|
if(!preg_match('/\] $/', $body))
|
||||||
$body = '[' . $body . ']';
|
$body = '[' . $body . ']';
|
||||||
|
|
||||||
|
$body = trim($body);
|
||||||
|
|
||||||
return Array(
|
return Array(
|
||||||
'top' => '<div class="boardlist">' . $body . '</div>',
|
'top' => '<div class="boardlist">' . $body . '</div>',
|
||||||
'bottom' => '<div class="boardlist bottom">' . $body . '</div>'
|
'bottom' => '<div class="boardlist bottom">' . $body . '</div>'
|
||||||
|
Loading…
Reference in New Issue
Block a user