rem: HTMLArea.prototype.cleanHTML = function(sHtml) { var c = HTMLArea.RegExpCache; sHtml = sHtml. replace(c[0], function(str) { return str.toLowerCase(); } ). replace(c[1], ' '). replace(c[12], ' '). replace(c[2], '="$2$4$5"$3'). replace(c[21], ' '). replace(c[11], function(str, p1, p2) { return ' '+p1.toLowerCase()+p2; }). replace(c[3], '>'). replace(c[9], '$1>'). replace(c[5], '$1="$1"$3'). replace(c[4], '<$1$2 />'). replace(c[6], '$1$2').  replace(c[8], '<'). replace(c[10], ' '); if(HTMLArea.is_ie && c[13].test(sHtml)) { sHtml = sHtml.replace(c[13],'$1'+this.stripBaseURL(RegExp.$3)+'"'); } if(this.config.only7BitPrintablesInURLs) { if (HTMLArea.is_ie) c[13].test(sHtml); if ( c[13].test(sHtml)) { try { sHtml = sHtml.replace(c[13], '$1'+decodeURIComponent(RegExp.$3).replace(/([^!-~]+)/g,function(chr){return escape(chr);})+'"'); } catch (e) { sHtml = sHtml.replace(c[13], '$1'+RegExp.$3.replace(/([^!-~]+)/g,function(chr){return escape(chr);})+'"'); } } } return sHtml; 
add: HTMLArea.prototype.cleanHTML=function(_2){ var c=HTMLArea.RegExpCache; _2=_2.replace(c[0],function(_4){ return _4.toLowerCase(); }).replace(c[1]," ").replace(c[12]," ").replace(c[2],"=\"$2$4$5\"$3").replace(c[21]," ").replace(c[11],function(_5,p1,p2){ return " "+p1.toLowerCase()+p2; }).replace(c[3],">").replace(c[9],"$1>").replace(c[5],"$1=\"$1\"$3").replace(c[4],"<$1$2 />").replace(c[6],"$1$2").replace(c[8],"<").replace(c[10]," "); if(HTMLArea.is_ie&&c[13].test(_2)){ _2=_2.replace(c[13],"$1"+this.stripBaseURL(RegExp.$3)+"\""); } if(this.config.only7BitPrintablesInURLs){ if(HTMLArea.is_ie){ c[13].test(_2); } if(c[13].test(_2)){ try{ _2=_2.replace(c[13],"$1"+decodeURIComponent(RegExp.$3).replace(/([^!-~]+)/g,function(_8){ return escape(_8); })+"\""); } catch(e){ _2=_2.replace(c[13],"$1"+RegExp.$3.replace(/([^!-~]+)/g,function(_9){ return escape(_9); })+"\""); } } } return _2; 
context: HTMLArea.prototype.cleanHTML = function(sHtml) {	var c = HTMLArea.RegExpCache;	sHtml = sHtml.		replace(c[0], function(str) { return str.toLowerCase(); } ).//lowercase tags/attribute names		replace(c[1], ' ').//strip _moz attributes		replace(c[12], ' ').//strip contenteditable		replace(c[2], '="$2$4$5"$3').//add attribute quotes		replace(c[21], ' ').//strip empty attributes		replace(c[11], function(str, p1, p2) { return ' '+p1.toLowerCase()+p2; }).//lowercase attribute names		replace(c[3], '>').//strip singlet terminators		replace(c[9], '$1>').//trim whitespace		replace(c[5], '$1="$1"$3').//expand singlet attributes		replace(c[4], '<$1$2 />').//terminate singlet tags		replace(c[6], '$1$2').//check quote nesting	//	replace(c[7], '&amp;').//expand query ampersands		replace(c[8], '<').//strip tagstart whitespace		replace(c[10], ' ');//trim extra whitespace	if(HTMLArea.is_ie && c[13].test(sHtml)) {		sHtml = sHtml.replace(c[13],'$1'+this.stripBaseURL(RegExp.$3)+'"');	}	if(this.config.only7BitPrintablesInURLs) {		if (HTMLArea.is_ie) c[13].test(sHtml); // oddly the test below only triggers when we call this once before (IE6), in Moz it fails if tested twice		if ( c[13].test(sHtml)) {			try { //Mozilla returns an incorrectly encoded value with innerHTML				sHtml = sHtml.replace(c[13], '$1'+decodeURIComponent(RegExp.$3).replace(/([^!-~]+)/g,function(chr){return escape(chr);})+'"');			} catch (e) { // once the URL is escape()ed, you can't decodeURIComponent() it anymore				sHtml = sHtml.replace(c[13], '$1'+RegExp.$3.replace(/([^!-~]+)/g,function(chr){return escape(chr);})+'"');			}		}	}	return sHtml;};
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/TransformInnerHTML.js/buggy/packages/acs-templating/www/resources/xinha-nightly/modules/GetHtml/TransformInnerHTML.js