ApiGen\Generator\Markups\MarkdownMarkup::line PHP Method

line() public method

public line ( string $text ) : string
$text string
return string
    public function line($text)
    {
        $text = $this->block($text);
        $text = preg_replace('/^<p[^>]*>(.*)<\\/p[^>]*>$/i', '$1', $text);
        return trim($text);
    }