Closed ghost closed 12 years ago
In your for loops within your CodeDefinitions, try using
$child->getAsHTML(); instead of $child->getAsBBCode();
This will ensure that children of the element get parsed if they're supposed to be parsed. The getAsBBCode() method returns a bbcode representation (without parsing) no matter what value is given to the definition through setParseContent.
Hi, Thank you for reply.
It works now, Thank you very much...
Hi, i made 2 custom class code definitions, but the problem came when this two tags used in nested each other.
If color tag put in size tag, color won't be parsed, so it just produced like this :
xzc[color=#ff99ff]dsfd[/color]sfs
Sorry about my english. Thank you.