2009-04-13, 07:21 PM
I wasn't 100% on where to put this, so if it's in the wrong place I'm sorry.
I want to create a custom MyCode that uses nested tags, something like this:
However, I can't figure out how to deal with it. I need the inner tags to only work if they're in the outer tags or the user might be able to start messing up the layout of the page, or at least their post. It actually needs multiple levels of nested tags but I think I'm smart enough to figure out multiple levels from a single-nesting example.
Thank you for your time![/code]
I want to create a custom MyCode that uses nested tags, something like this:
[outer]
[inner]Inner tags should[/inner]
[inner]only work if they[/inner]
[inner]are inside the[/inner]
[inner]outer tags.[/inner]
[/outer]
However, I can't figure out how to deal with it. I need the inner tags to only work if they're in the outer tags or the user might be able to start messing up the layout of the page, or at least their post. It actually needs multiple levels of nested tags but I think I'm smart enough to figure out multiple levels from a single-nesting example.
Thank you for your time![/code]