You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

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,924 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!