MyBB Community Forums

Full Version: Allow mycode inside [code] tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am pretty much sure mycode does not work inside [code] tag. is there anyway we can enable mycode replacement inside [code]?
You'd be better off creating a new tag, you'd need to modify the core code to change this, and it would defeat the point of the tag as the whole purpose of it is that it doesn't parse the contents and shows it as-is.
here is my mycode regex replacement, may be it will be helpful for others.