Rick, in do_markup, find
PHP Code
	 $body = preg_replace( "#(\r\n|\r|\n)#i", "<br />", $body ); 

Move it to below the if statement right after it