rem: var blocklist = 'blockquote|ul|ol|li|table|thead|tr|th|td|div|h\d|pre'; 
add: var blocklist = 'blockquote|ul|ol|li|table|thead|tr|th|td|div|h\\d|pre'; 
context: function wp_save_callback(el, content, body) {	// We have a TON of cleanup to do.	// Mark </p> if it has any attributes.	content = content.replace(new RegExp('(<p[^>]+>.*?)</p>', 'mg'), '$1</p#>');	// Decode the ampersands of time.	content = content.replace(new RegExp('&amp;', 'g'), '&');	// Get it ready for wpautop.	content = content.replace(new RegExp('[\\s]*<p>[\\s]*', 'mgi'), '');	content = content.replace(new RegExp('[\\s]*</p>[\\s]*', 'mgi'), '\n\n');	content = content.replace(new RegExp('\\n\\s*\\n\\s*\\n*', 'mgi'), '\n\n');	content = content.replace(new RegExp('\\s*<br ?/?>\\s*', 'gi'), '\n');	// Fix some block element newline issues	var blocklist = 'blockquote|ul|ol|li|table|thead|tr|th|td|div|h\d|pre';	content = content.replace(new RegExp('\\s*<(('+blocklist+') ?[^>]*)\\s*>', 'mg'), '\n<$1>');	content = content.replace(new RegExp('\\s*</('+blocklist+')>\\s*', 'mg'), '</$1>\n');	content = content.replace(new RegExp('<li>', 'g'), '\t<li>');	// Unmark special paragraph closing tags	content = content.replace(new RegExp('</p#>', 'g'), '</p>\n');	content = content.replace(new RegExp('\\s*(<p[^>]+>.*</p>)', 'mg'), '\n$1');	// Trim any whitespace	content = content.replace(new RegExp('^\\s*', ''), '');	content = content.replace(new RegExp('\\s*$', ''), '');	// Hope.	return content;}
meta: 3433	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3433/579e4262609447fa1182b2ce5ca258606bc2b45b/editor_plugin.js/clean/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js