Code work being deleted in code box [Explained]

Koiasi

Veteran
D
Hello!
I'm currently having an issue. I was copying and pasting my hiring information on Gaia over to here and in particular the [ b] [ /b] coding has been deleting itself in the code box. I have even tried reedited it and it still keeps deleting it. It's not doing this to everyone post, or even every line, but it's only two of the posts I haven't had any issues with.

A few of the posts, you can scroll down for the others;
https://basiliskstew.com/forum/threads/i-t-dungeons-and-dice-hiring.609/post-13456
https://basiliskstew.com/forum/threads/i-t-dungeons-and-dice-hiring.609/post-13457
https://basiliskstew.com/forum/threads/i-t-dungeons-and-dice-hiring.609/post-13458
 

astralprogenitor

late to the party
D
Staff member
Admin
Designer
Not a bug! Unlike Gaia, BS strips extraneous coding - unfortunately, anywhere that doesn't have forms (the vast majority of forum usage), something like [TAG][/TAG](enterkey)[TAG][/TAG] is considered extraneous because a line break is seen as white space, so you're left with [TAG][/TAG][TAG][/TAG] which can be simplified into [TAG][/TAG] in order to save database size.

The solution is to make it clear to a machine that your white space is not extraneous. There are two solutions to this:

First is to add something after the tag, like so:

Code:
[b]Thing one:[/b] explanation of thing
[b]Thing two:[/b] explanation of thing

The alternative, and the one I prefer, is simply to leave your indicator text (like ':') out of your tag, like so:


Code:
[b]Thing one[/b]: 
[b]Thing two[/b]:
This likely won't be changed, as we prefer to have the stripping capabilities so that we have space stored in long term. A lot of extra tags that people may not even realize exist will, over time, turn into mega and gigabytes of useless, wasted data. o vo

Edit: The reason it doesn't do it to some is because they fit one of the criteria listed above!
 
Last edited:
Top