![]() |
[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.
|
Re: [code] tag is broken
Demo of [code] after an edit:
<font class="small">Code:</font><hr /><pre> 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. </pre><hr /> |
Re: [code] tag is broken
Demo of [code] from a new post
<font class="small">Code:</font><hr /><pre> 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. </pre><hr /> |
Re: [code] tag is broken
To see the non-existing difference of the above posts, click on the "quote" button for both of them.
|
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.
|
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...
|
All times are GMT -4. The time now is 05:43 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.