The following BBCode produces breaks (<br />) around the </pre>-tag which IMHO are redundant because <pre> is a block-level tag and breaks on its own.

The code
[code]
code line 1
code line 2
[/code]
is an example...

This following code renders as I expect it to be but its unlikely that anyone codes like this because its not very readable. The above code should render the same.

The code[code]code line 1
code line 2[/code]is an example...

Comments

naudefj’s picture

Priority: Normal » Minor
Status: Active » Closed (works as designed)

This is by design. If you don't like the current behavior, you are welcome to submit a patch.