lib/view/helpers/view_helper.js
function( input, null_text ) {
		if ( input == null || input === undefined ) return null_text || '';
		if ( typeof input === 'object' && Object.prototype.toString.call(input) === '[object Date]' ) return input.toDateString();
		if ( input.toString ) return input.toString().replace(/\n/g, '<br />').replace(/''/g, "'");
		return '';
	}
function( input, null_text ) {
		if ( input == null || input === undefined ) return null_text || '';
		if ( typeof input === 'object' && Object.prototype.toString.call(input) === '[object Date]' ) return input.toDateString();
		if ( input.toString ) return input.toString().replace(/\n/g, '<br />').replace(/''/g, "'");
		return '';
	}
function ( input , null_text ) { if ( input == null || input === undefined ) return null_text || '' ; if ( typeof input === 'object' && Object . prototype . toString . call ( input ) === '[object Date]' ) return input . toDateString ( ) ; if ( input . toString ) return input . toString ( ) . replace ( / \n / g , '<br />' ) . replace ( / '' / g , "'" ) ; return '' ; }
Converts response to text.
Converts response to text .