Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2006 at 19:19 UTC
Updated:
26 Sep 2006 at 17:15 UTC
<code> 'codifies' only until first blank line.
I was posting a comment. I have used <code> there, like this:
some text here:
<code>
// more text here
// and text again
Note empty lines before and after code. It was translated into this html:
<p>some text here</p>
<p><code><br />
// some more text here</p>
<p>// and text again<br />
Note how <code> is wrapped in <p>'s. I suppose because of this only first line of code block is displayed using 'code font'...
Using firefox 1.5 here.
Comments
Comment #1
Cvbge commentedIf I just use <pre> instead of code, then it's not getting wrapped inside of p's and works.
Comment #2
magico commentedI think there is something done about this.
Comment #3
(not verified) commented