P Paul B XenForo moderator Staff member Dec 7, 2010 #2 I'm fairly sure this is by design but no doubt Mike will be along shortly to confirm.
Ryan McAdams Active member Dec 7, 2010 #3 Brogan said: I'm fairly sure this is by design but no doubt Mike will be along shortly to confirm. Click to expand... 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...?
Brogan said: I'm fairly sure this is by design but no doubt Mike will be along shortly to confirm. Click to expand... 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...?
Shadab Well-known member Dec 7, 2010 #4 You can use [code=rich] ... [/code] to enable formatting inside code tags. Rich (BB code): public function isWorking() { return true; }
You can use [code=rich] ... [/code] to enable formatting inside code tags. Rich (BB code): public function isWorking() { return true; }
P Paul B XenForo moderator Staff member Dec 7, 2010 #5 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.
Ryan McAdams Active member Dec 7, 2010 #6 Shadab said: You can use [code=rich] ... [/code] to enable formatting inside code tags. Rich (BB code): public function isWorking() { return true; } Click to expand... Now to figure out how to make that the default...
Shadab said: You can use [code=rich] ... [/code] to enable formatting inside code tags. Rich (BB code): public function isWorking() { return true; } Click to expand... Now to figure out how to make that the default...
Mike XenForo developer Staff member Dec 7, 2010 #7 Brogan said: Nice one Shadab. In all the years I've been using code, code=php, etc. I never knew you could do that. Click to expand... That's probably because it's unique to us, I think. Never really looked elsewhere though. But yes, this is most definitely intentional.
Brogan said: Nice one Shadab. In all the years I've been using code, code=php, etc. I never knew you could do that. Click to expand... That's probably because it's unique to us, I think. Never really looked elsewhere though. But yes, this is most definitely intentional.
Ryan McAdams Active member Dec 7, 2010 #8 Why? What benefit do you get from blocking bbcode inside of the code tags?
Mike XenForo developer Staff member Dec 7, 2010 #9 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.
Ryan McAdams Active member Dec 8, 2010 #11 Mike said: It prevents code that contains elements that resemble BB codes from accidentally executing, thereby breaking the code. Click to expand... ...can we PLEASE make this an option instead of a mandatory stance? A simple "disable smilies" checkbox would fix the majority of those breakages.
Mike said: It prevents code that contains elements that resemble BB codes from accidentally executing, thereby breaking the code. Click to expand... ...can we PLEASE make this an option instead of a mandatory stance? A simple "disable smilies" checkbox would fix the majority of those breakages.