microformat-shiv.js
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 '';
		   }
		}
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 '';
		   }
		}
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 '' ; } }
parses the text from a html string - only for whitespace or whitespacetrimmed formats

@param  {String} text
@param  {String} textFormat
@return {String}
parses the text from a html string - only for whitespace or whitespacetrimmed formats