protected static function p(array $matches)
    {
        $line = $matches[1];
        $trimmed = trim($line);

        if (preg_match('/^<\/?(ul|ol|li|h|p|bl)/', $trimmed)) {
            return "\n$line\n";
        }

        return sprintf("\n<p>%s</p>\n", $trimmed);
    }
protected static function p(array $matches)
    {
        $line = $matches[1];
        $trimmed = trim($line);

        if (preg_match('/^<\/?(ul|ol|li|h|p|bl)/', $trimmed)) {
            return "\n$line\n";
        }

        return sprintf("\n<p>%s</p>\n", $trimmed);
    }
protected static function p ( array $ matches ) { $ line = $ matches [ 1 ] ; $ trimmed = trim ( $ line ) ; if ( preg_match ( '/^<\/?(ul|ol|li|h|p|bl)/' , $ trimmed ) ) { return "\n$line\n" ; } return sprintf ( "\n<p>%s</p>\n" , $ trimmed ) ; }
Renders "P" tag
@param array $matches
@return string
Renders P tag