[SOLVED] BBCode Nesting Problem

Get help developing custom BBCodes or request one.
Post Reply
Tarantino
Registered User
Posts: 740
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

[SOLVED] BBCode Nesting Problem

Post by Tarantino » Sun May 05, 2019 12:10 am

Hi there, I've create some bbcodes so I can have a tabs system, its all working good except that I can't use BBCode inside.

BBCode:

Code: Select all

[tabinfo={SIMPLETEXT}]{TEXT}[/tabinfo]
HTML:

Code: Select all

<div id="{SIMPLETEXT}">
      <h3>{SIMPLETEXT}</h3>
      <div>{TEXT}</div>
</div>
Usage:

Code: Select all

[tabinfo=1]Test[/tabinfo]
I wanted to use as:

Code: Select all

[tabinfo=1][img]url[/img][img]url[/img][img]url[/img][/tabinfo]
How can I acheive this? Any idea?

EDIT: After all It was not that hard. I've changed the <div>{TEXT}</div> to <div><xsl:apply-templates /></div> and it was solved :mrgreen:

Post Reply

Return to “Custom BBCode Development and Requests”