SOLVED: Spacing in [code] tags

Obsolete, fixed, and incorrect bug requests and problems. Browse here before posting a new topic, to avoid duplicates.
Forum rules
Locked
User avatar
Anne Robinson
Anne Robinson
Watcher
User avatar
User avatar
Anne Robinson
Watcher
Watcher
Posts: 0
Joined: October 5, 2011

SOLVED: Spacing in [code] tags

Post Post #0 (ISO) » Sat Oct 15, 2011 1:05 pm

Post by Anne Robinson »

If you have a single space at the beginning of a line in a code tag, it strips it out.
Example: The following should be a center-aligned reverse triangle:

Code: Select all

XXXXXXX
 XXXXX
  XXX
   X
User avatar
CooLDoG
CooLDoG
Wanker
User avatar
User avatar
CooLDoG
Wanker
Wanker
Posts: 4575
Joined: September 2, 2009
Location: A grand nominal wizard from the peripheral
Contact:

Post Post #1 (ISO) » Sun Oct 16, 2011 3:42 am

Post by CooLDoG »

The problem is that it the "CODE" tag eliminates bbcode. I would have suggested using the "tab" tags, but the "code" tag disables it. The only way that you can create a space is by adding something and then a space example:

Code: Select all

. xxxxxxx
 xxxxx <- no period used
.                     xxxxx


That's the only way I can think that will change it. Even without the code box it shifts the text to the left side if you don't have anything before the space, like this:
this was typed without putting anything before spaces
Other than that I can't help you.
after a wank.
User avatar
Kison
Kison
TestPronoun
.GIFted
User avatar
User avatar
Kison
TestPronoun
.GIFted
.GIFted
Posts: 6699
Joined: January 22, 2007
Pronoun: TestPronoun
Location: test

Post Post #2 (ISO) » Sun Oct 16, 2011 9:24 pm

Post by Kison »

There is probably a reason for this. I will see tomorrow.
User avatar
Mr. Flay
Mr. Flay
Metatron
User avatar
User avatar
Mr. Flay
Metatron
Metatron
Posts: 24969
Joined: March 12, 2004
Location: Gormenghast
Contact:

Post Post #3 (ISO) » Sun Nov 13, 2011 3:06 am

Post by Mr. Flay »

Found the fix for this.
It will be committed in the Monday update.
Retired as of October 2014.
Locked