J.
// $contents = ob_get_clean(); // echo nl2br(htmlentities($contents)); ?>