• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

[code] tag contents

Status
Not open for further replies.
Joined
Apr 19, 2004
Messages
577
When putting text between code tags, it displays wrong sometimes. In this thread, the line:
Code:
 Alphas:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
should have no spaces among the characters, but it does. When I go to edit it, the text in the edit box does not have the extra space (so I can't remove them). Where they coming from?

Quote tags do it too...
Alphas:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
 
it seems to be a forum setting preventing people from writing obnoxiously long strings to force horizontal scroll.
 
vB code is On
Smilies are On
code is On
[COLOR=Red]HTML code is Off[/COLOR]
 
"HTML code is Off" means that vB substitutes the escape sequences &lt; and &gt; for < and > so that any HTML tags in a post aren't active.

Extra spaces is a seperate issue.
 
i was going to say something about html tags being off not being relevant, but, uh, didn't want to contradict major ;)
 
The forum code separates words after reaching 35 char.

Example: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

That's 40 letter a's with a break after character 35.
 
Which is. I suppose, a reasonable thing to do. The horizontal scroll thing, like lomn75 said.

But it's a really odd thing to do inside a [ code] tag. After all, the idea is to preserve the exact formatting so code looks and operates right. The tag even comes equip with it's own horizontal scroll bar, so as not to mess with the layout of the rest of the page.

Why are spaces being inserted into [ code] tag contents?
 
HeThatKnows said:
Which is. I suppose, a reasonable thing to do. The horizontal scroll thing, like lomn75 said.

But it's a really odd thing to do inside a [ code] tag. After all, the idea is to preserve the exact formatting so code looks and operates right. The tag even comes equip with it's own horizontal scroll bar, so as not to mess with the layout of the rest of the page.

Why are spaces being inserted into [ code] tag contents?
Like lomn75 said, it's to prevent really long strings of characters from causing horizontal scroll by inserting spaces to force it to wrap. It's a forum-wide setting that can't be changed just for the [ code] tags.

Ran it by Kyle, and I think the benefit to the W&P crowd who need to post code for troubleshooting outweighs the potential for abuse elsewhere, so I've turned that off.

If anyone deliberately tries to abuse this outside of the [ code] tags, they'll be dealt with on an individual basis. ;) It's not like very many people here typically use 35+ character words as part of their everyday vocabulary. Well, except maybe for Ice Czar, he seems to know a lot of really big words. :p Heck, the longest word I can think of is supercalifragilisticexpealidocious and that's only 34 characters.
 
The longest word I ever use is 'pneumonoultramicroscopicsilicovolcanoconiosis'. Of course, I only use it to show that I know a really long word. :) I'm thinking of having it tatooed on my p--...oh, never mind :p

I did a little researching. In code tags, the extra spaces from the long-word-breaker are supposed to be removed. But a bug causes a second space to be inserted instead of the original-extra being removed. :rolleyes:

Thanks for killin' it.
 
HeThatKnows said:
I did a little researching. In code tags, the extra spaces from the long-word-breaker are supposed to be removed. But a bug causes a second space to be inserted instead of the original-extra being removed. :rolleyes:
Hopefully they'll get around to fixing it in a future version of vBulletin. For now all they recommend is either increasing the number of characters or setting it to zero, basically eliminating it altogether.

And dang, you know some bigass words. :D
 
Status
Not open for further replies.
Back
Top