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("&lt;br /&gt;", false, $code_tag[1]);

Or is there a better way off dealing with this?