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

DIGI-DATA CIRCUIT PROCESSOR INTERFACE BOARD MCB9 MCB-9
$499.99
DIGI-DATA CIRCUIT PROCESSOR INTERFACE BOARD MCB9 MCB-9 pictureBRISTOL BABCOCK CONTROLWAVE PLC CPU MODULE 396359-11-6 SER. H
$499.99
BRISTOL BABCOCK CONTROLWAVE PLC CPU MODULE 396359-11-6 SER. H  pictureRaspberry Pi 3 Model B Quad Core 1.2GHz 64bit CPU 1GB RAM WiFi
$6.99
Raspberry Pi 3 Model B Quad Core 1.2GHz 64bit CPU 1GB RAM WiFi  pictureShandon Excelsior Tissue Processor
$3750.0
Shandon Excelsior Tissue Processor  pictureVINTAGE 1960s NOS RARE TEXAS INSTRUMENTS GOLD FLAT PACK IC PROCESSOR CHIP SN4802
$6.99
VINTAGE 1960s NOS RARE TEXAS INSTRUMENTS GOLD FLAT PACK IC PROCESSOR CHIP SN4802 picture






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