public function parse($contents = null)
{
if (!is_null($contents)) {
$this->setTemplate(str_replace("\n", " \n", $contents));
}
/* Evaluate the compiled template and return the output. */
ob_start();
eval('?>' . $this->_template);
return is_null($contents) ? ob_get_clean() : str_replace(" \n", "\n", ob_get_clean());
}