﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
6224,TinyMCE configuration removes DIVs unnecessarily,offmessage,anonymous,"source:branches/2.3/wp-includes/js/tinymce/tiny_mce_config.php@5700#25 forces TinyMCE to try and replace <DIV>s with <P>s.  This seems completely unnecessary and breaks any use of microformats in blog posts.  Even more annoyingly it is different for blogs hosted on wordpress.com, where this configuration is not present.

{{{
@@ -23,5 +23,5 @@
 
  // Set up init variables
- $valid_elements = 'p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';
+ $valid_elements = '-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';
  $valid_elements = apply_filters('mce_valid_elements', $valid_elements);
}}}",defect (bug),closed,normal,,TinyMCE,2.3.3,normal,invalid,,
