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