src/shortcodes/ShortcodeParser.php
protected function parseContent($content)
    {
        $content = preg_replace_callback($this->shortcodeRegex(), [$this, 'doShortcodeTag'], $content);
        if (!$this->isFinishedParse()) {
            $content = $this->parseContent($content);
        }
        return $content;
    }
protected function parseContent($content)
    {
        $content = preg_replace_callback($this->shortcodeRegex(), [$this, 'doShortcodeTag'], $content);
        if (!$this->isFinishedParse()) {
            $content = $this->parseContent($content);
        }
        return $content;
    }
protected function parseContent ( $ content ) { $ content = preg_replace_callback ( $ this -> shortcodeRegex ( ) , [ $ this , 'doShortcodeTag' ] , $ content ) ; if ( ! $ this -> isFinishedParse ( ) ) { $ content = $ this -> parseContent ( $ content ) ; } return $ content ; }
parse nested shortcodes
@param $content
@return string
parse nested shortcodes