<br /> element in the [code] blocks
Nr. 18 - September 11, 2009 - 07:53
| Project: | Bbcode |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
While posting a pice off code into a comment or node the returns are being changed to
, but while posting a pice off code that
will be converted to <br />.
I added the following in bbcode-filter.inc on line 24:
$code_tag[1] = str_replace("<br />", false, $code_tag[1]);Or is there a better way off dealing with this?
