BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-18-2005, 07:07 AM   #1
corey@12mile
BlackBerry Extraordinaire
 
Join Date: Dec 2004
Location: in a house...
Model: lots
Carrier: Rogers
Posts: 1,148
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
Mark Rejhon
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
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
corey@12mile
BlackBerry Extraordinaire
 
Join Date: Dec 2004
Location: in a house...
Model: lots
Carrier: Rogers
Posts: 1,148
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
jibi
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
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C picture

Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C

$17.99



A1618 NEW OEM Battery for MacBook Pro 15

A1618 NEW OEM Battery for MacBook Pro 15" Retina A1398 Mid 2015 020-00079

$43.90



Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 picture

Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013

$40.90



NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$31.90



NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015 picture

NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015

$43.90



Genuine OEM A1417 Battery For Apple Macbook Pro 15

Genuine OEM A1417 Battery For Apple Macbook Pro 15" Retina A1398 2012 2013 NEW

$40.90







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