system/libraries/Email.php
/**
		* Strip line-breaks via callback
		*
		* @param	string	$matches
		* @return	string
		*/
Strip line-breaks via callback
@param        string  $matches
@return       string
Strip line - breaks via callback @param string $matches @return string
protected function _remove_nl_callback($matches)
		{
			if (strpos($matches[1], "\r") !== FALSE OR strpos($matches[1], "\n") !== FALSE)
			{
				$matches[1] = str_replace(array("\r\n", "\r", "\n"), '', $matches[1]);
			}
			return $matches[1];
		}
protected function _remove_nl_callback ( $ matches ) { if ( strpos ( $ matches [ 1 ] , " \r " ) !== FALSE OR strpos ( $ matches [ 1 ] , " \n " ) !== FALSE ) { $ matches [ 1 ] = str_replace ( array ( " \r \n " , " \r " , " \n " ) , '' , $ matches [ 1 ] ) ; } return $ matches [ 1 ] ; }
Strip line-breaks via callback
 @param        string  $matches
 @return       string
Strip line - breaks via callback @param string $matches @return string