|
|
|
|
May 11th, 2007, 08:41 AM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
[code] tag is broken
The [code] tag is broken. It should just translate the [code] environment to a <pre> environment and it does that if you create a new post with [code] tags in it. But if you edit your post and want to submit it again, the forum software then prefixes every line of HTML output for the forum post with a <br/> tag, too, for unknown reasons. Together with the newlines encountered inbetween the <pre> tags this results in double newlines in the browser and makes the text rather unreadable because it's stretched out of proportions. Please remove the buggy bogus code which adds these useless <br/> tags all over the place.
|
May 11th, 2007, 08:57 AM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: [code] tag is broken
Demo of [code] after an edit:
Code:
Nor dread nor hope attend
A dying animal;
A man awaits his end
Dreading and hoping all;
Many times he died,
Many times rose again.
A great man in his pride
Confronting murderous men
Casts derision upon
Supersession of breath;
He knows death to the bone
Man has created death.
|
May 11th, 2007, 08:58 AM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: [code] tag is broken
Demo of [code] from a new post
Code:
Nor dread nor hope attend
A dying animal;
A man awaits his end
Dreading and hoping all;
Many times he died,
Many times rose again.
A great man in his pride
Confronting murderous men
Casts derision upon
Supersession of breath;
He knows death to the bone
Man has created death.
|
May 11th, 2007, 08:59 AM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: [code] tag is broken
To see the non-existing difference of the above posts, click on the "quote" button for both of them.
|
May 11th, 2007, 02:33 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
Re: [code] tag is broken
The same thing happens when you quote somebody's private message in your reply to them, it adds an extra newline for every line break.
|
May 12th, 2007, 06:20 AM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: [code] tag is broken
Yep, quotes get stretched every time when you reply to a PM, too, which can get quite long when you reply to each other a dozen times...
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|