code: function( doc, text, textFormat ){
  		   this.textFormat = (textFormat)? textFormat : this.textFormat;
  		   if(text){
  			  var out = text
  			  if(this.textFormat === 'whitespacetrimmed') {
  				 out = modules.utils.trimWhitespace( out );
  			  }
  			  return out;
  		   }else{
  			  return '';
  		   }
  		}
docs: parses the text from a html string - only for whitespace or whitespacetrimmed formats
  
  @param  {String} text
  @param  {String} textFormat
  @return {String}