rem: if (tinyMCE.getParam('convert_urls')) s = s.replace(new RegExp('(href=\"{0,1})(\\s*#)', 'gi'), '$1' + tinyMCE.settings['document_base_url'] + "#"); 
context: TinyMCE_Engine.prototype.cleanupHTMLCode = function(s) {	s = s.replace(new RegExp('<p \\/>', 'gi'), '<p>&nbsp;</p>');	s = s.replace(new RegExp('<p>\\s*<\\/p>', 'gi'), '<p>&nbsp;</p>');	// Fix close BR elements	s = s.replace(new RegExp('<br>\\s*<\\/br>', 'gi'), '<br />');	// Open closed tags like <b/> to <b></b>	s = s.replace(new RegExp('<(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|b|font|em|strong|i|strike|u|span|a|ul|ol|li|blockquote)([a-z]*)([^\\\\|>]*)\\/>', 'gi'), '<$1$2$3></$1$2>');	// Remove trailing space <b > to <b>	s = s.replace(new RegExp('\\s+></', 'gi'), '></');	// Close tags <img></img> to <img/>	s = s.replace(new RegExp('<(img|br|hr)([^>]*)><\\/(img|br|hr)>', 'gi'), '<$1$2 />');	// Weird MSIE bug, <p><hr /></p> breaks runtime?	if (tinyMCE.isMSIE)		s = s.replace(new RegExp('<p><hr \\/><\\/p>', 'gi'), "<hr>");	// Weird tags will make IE error #bug: 1538495	if (tinyMCE.isMSIE)		s = s.replace(/<!(\s*)\/>/g, '');	// Convert relative anchors to absolute URLs ex: #something to file.htm#something	if (tinyMCE.getParam('convert_urls'))		s = s.replace(new RegExp('(href=\"{0,1})(\\s*#)', 'gi'), '$1' + tinyMCE.settings['document_base_url'] + "#");	return s;};
meta: 2801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2801/3c26150e1a64cb09ec99f84b07fc866d3e28d08d/TinyMCE_Cleanup.class.js/clean/jscripts/tiny_mce/classes/TinyMCE_Cleanup.class.js