function stripHTML(source) {
	  var fragment = document.createDocumentFragment();
	  var element = document.createElement('div');
	  fragment.appendChild(element);
	  element.innerHTML = source;
	  return fragment.firstChild.innerText;
	}
function stripHTML(source) {
	  var fragment = document.createDocumentFragment();
	  var element = document.createElement('div');
	  fragment.appendChild(element);
	  element.innerHTML = source;
	  return fragment.firstChild.innerText;
	}
function stripHTML ( source ) { var fragment = document . createDocumentFragment ( ) ; var element = document . createElement ( 'div' ) ; fragment . appendChild ( element ) ; element . innerHTML = source ; return fragment . firstChild . innerText ; }
Remove HTML from a string
Remove HTML from a string