_MarkdownExtra_TmpImpl::_processDefListItems_callback_dd PHP Method

_processDefListItems_callback_dd() protected method

protected _processDefListItems_callback_dd ( $matches )
    protected function _processDefListItems_callback_dd($matches)
    {
        $leading_line = $matches[1];
        $marker_space = $matches[2];
        $def = $matches[3];
        if ($leading_line || preg_match('/\\n{2,}/', $def)) {
            # Replace marker with the appropriate whitespace indentation
            $def = str_repeat(' ', strlen($marker_space)) . $def;
            $def = $this->runBlockGamut($this->outdent($def . "\n\n"));
            $def = "\n" . $def . "\n";
        } else {
            $def = rtrim($def);
            $def = $this->runSpanGamut($this->outdent($def));
        }
        return "\n<dd>" . $def . "</dd>\n";
    }