Code blocks

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

On this forum, it looks like spaced lines between code tags get parsed as paragraphs. The leading line gets styled with a fixed-width font, but subsequent paragraphs revert to something else.

E.g.

This is a multiline code block:

Another line.  Is this unstyled?

User agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1) Gecko/20090701 Firefox/3.5

Edit: A screenshot of this post is attached.

Sad

AttachmentSize
cssfail.png8.5 KB
JeevesBond's picture

He has: 3,955 posts

Joined: Jun 2002

I know, code blocks on TWF suck!

I'm hoping we'll upgrade to Drupal 6, and it will magically be fixed. Probably not, but I will look at the problem and submit a patch if it isn't fixed after the upgrade. Smiling

Rather important stuff.

a Padded Cell our articles site!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.