public function code($str) { return '<code>' . str_replace(' ', ' ', nl2br(get::htmlentities($str))) . '</code>'; }