BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-18-2005, 07:07 AM   #1 (permalink)
BlackBerry Extraordinaire
 
Join Date: Dec 2004
Location: in a house...
Model: lots
Carrier: Rogers
Posts: 1,148
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default CODE tag adds unwanted spaces

Please Login to Remove!

http://www.blackberryforums.com/show...ed=1#post89555

My last post, as well as other posts I have made using the CODE tag has unwanted spaces. It seems as though anywhere the word 'index' is used it adds spaces between the n & d. Maybe I will try it here, it's far too early in the morning.

cd.

Last edited by corey@12mile : 08-18-2005 at 07:09 AM. Reason: testing... done.
Offline  
Old 08-18-2005, 09:22 AM   #2 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

1. It's not the CODE tag.
2. It's not Index.

It's the wordwrapping algorithm in vBulletin that affects all text posted - It breaks long unbroken pieces of text. I know, it shouldn't act upon CODE blocks, though...

The word "Index" is a common term at the end of a long computer code line, so Index is only a coincidence.

To workaround, simply add carefully-positioned spaces. I just edited your post to add a space after the paranthesis, and that eliminated the automatic space break in the middle of an unbroken "long string of text with no whitespace".
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source

Last edited by Mark Rejhon : 08-18-2005 at 09:24 AM.
Offline  
Old 08-18-2005, 04:00 PM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Dec 2004
Location: in a house...
Model: lots
Carrier: Rogers
Posts: 1,148
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wow... I thought you were hiding out somewhere Mark, you haven't been around too much... busy with work I suppose...

I just paste my code in... I would really not rather have to reformat it, but oh well... I guess I will just deal with it.

cd.
Offline  
Old 08-19-2005, 03:53 PM   #4 (permalink)
BlackBerry God
 
jibi's Avatar
 
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 8900
OS: 4.6.1.174
Carrier: AT&T
Posts: 11,310
Post Thanks: 0
Thanked 1 Time in 1 Post
Default

Mark, I don't think its vBulletin so much as it is the style being used (bluesaint, I believe). Most likely, you could use the Liquid version of the theme, if its available, to bypass this issue. I've never had issues with spacing within the [code] tag on any forum I've been on using vBulletin 3.0+ ...
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

MAC 116B-611JB 24V-DC SOLENOID VALVE
$55.0
MAC 116B-611JB 24V-DC SOLENOID VALVE pictureBurkert Solenoid Valve 312C
$80.0
Burkert Solenoid Valve 312C pictureTeeJet AA145H-1 DirectoValve Boom Control Valve - 2-Way Electric Solenoid Valve
$274.75
TeeJet AA145H-1 DirectoValve Boom Control Valve - 2-Way Electric Solenoid Valve pictureUSED SMC SOLENOID VALVE MANIFOLD SQ1131N-5-C4 / C6
$44.99
USED SMC SOLENOID VALVE MANIFOLD SQ1131N-5-C4 / C6 pictureSchmersal Safety Component Solenoid interlock AZM 161SK-12/12RKA-024
$129.99
Schmersal Safety Component Solenoid interlock AZM 161SK-12/12RKA-024  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.