AdminPageFramework_Parsedown::inlineMarkup PHP Метод

inlineMarkup() защищенный Метод

protected inlineMarkup ( $Excerpt )
    protected function inlineMarkup($Excerpt)
    {
        if ($this->markupEscaped or strpos($Excerpt['text'], '>') === false) {
            return;
        }
        if ($Excerpt['text'][1] === '/' and preg_match('/^<\\/\\w*[ ]*>/s', $Excerpt['text'], $matches)) {
            return array('markup' => $matches[0], 'extent' => strlen($matches[0]));
        }
        if ($Excerpt['text'][1] === '!' and preg_match('/^<!---?[^>-](?:-?[^-])*-->/s', $Excerpt['text'], $matches)) {
            return array('markup' => $matches[0], 'extent' => strlen($matches[0]));
        }
        if ($Excerpt['text'][1] !== ' ' and preg_match('/^<\\w*(?:[ ]*' . $this->regexHtmlAttribute . ')*[ ]*\\/?>/s', $Excerpt['text'], $matches)) {
            return array('markup' => $matches[0], 'extent' => strlen($matches[0]));
        }
    }