[dokuwiki] plugin question: nesting?

Is there something special I need to do (or not do) to get nesting of syntax 
I defined in a plug-in to nest?  It appears to work ok as long as I don't
nest.  When testing a simple nest, I found the outer portion got interpreted
ok, but the inner portion appears untouched.

I have the type as 'container', and I've also got the following:

    function accepts($mode) {
        if (!count($this->allowedModes)) {
            global $PARSER_MODES;
 
            // XXX: so, which modes should be?
            $this->allowedModes = array_merge (
                // include only the $PARSER_MODES arrays for the syntax mode 
                // types allowed to occur within our own mode.
                $PARSER_MODES['container'],

    ...

    function connectTo($mode) {
        // XXX: necessary?
        //   http://article.gmane.org/gmane.comp.web.wiki.dokuwiki.general/665
        if ($mode == substr(get_class($this), 7)) {
            return;
        }

Thanks for any help.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: