Analog Posted August 24, 2010 Share Posted August 24, 2010 I've ran across an issue that I'm not sure how to fix. BB Code $this->engine->cust_tag("/\[codebox\](.+?)\[\/codebox\]/","<div class='codetop'>CODE</div><div class='codemain'><code>\\1</code></div>"); Now the problem is that if input something like [codebox][b]test to disply[/b][/codebox] It will render the bold bbcode tag instead of displaying it. Any ideas? Quote Link to comment Share on other sites More sharing options...
doublet Posted August 24, 2010 Share Posted August 24, 2010 What does cust_tag function? Quote Link to comment Share on other sites More sharing options...
Djkanna Posted August 25, 2010 Share Posted August 25, 2010 It should do it will all tags, within the code box, so [i.mg]blah[/im.g] will show just that and not the image it should do the same with quoting too. Just talking from experience with BBcode, look into how things like SMF and WBB or any other forum board do their BBcode and use it to gain knowledge on how to fix the problem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.