Closed (works as designed)
Project:
Bbcode
Version:
master
Component:
Markup
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2007 at 22:39 UTC
Updated:
10 Jan 2007 at 16:29 UTC
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
Comment #1
naudefj commentedThis is by design. If you don't like the current behavior, you are welcome to submit a patch.