As designed  BB Codes do not work inside of [CODE] blocks

I'm fairly sure this is by design but no doubt Mike will be along shortly to confirm.

That seems like a mistake...

Think about development forums, forums where people are working templates or other forms of code and want to bold or hue a line to make it stand out...?
 
You can use [code=rich] ... [/code] to enable formatting inside code tags.

Rich (BB code):
public function isWorking()
{
	return true;
}
 
Nice one Shadab.
In all the years I've been using code, code=php, etc. I never knew you could do that.
 
Nice one Shadab.
In all the years I've been using code, code=php, etc. I never knew you could do that.
That's probably because it's unique to us, I think. Never really looked elsewhere though.

But yes, this is most definitely intentional.
 
It prevents code that contains elements that resemble BB codes from accidentally executing, thereby breaking the code.
 
It prevents code that contains elements that resemble BB codes from accidentally executing, thereby breaking the code.

...can we PLEASE make this an option instead of a mandatory stance? A simple "disable smilies" checkbox would fix the majority of those breakages.
 
Top Bottom