TinyMCE: don't remove empty <i>, <b>, <em> and <strong> matching the behavior in WordPress 3.4/TinyMCE 3.4.9, see #22477 for trunk

git-svn-id: http://core.svn.wordpress.org/trunk@23222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2012-12-27 22:44:10 +00:00
parent dd0993f645
commit bc2a6a7f12

View File

@ -704,7 +704,7 @@
elements.img.attributesDefault = [{name: 'alt', value: ''}];
// Remove these if they are empty by default
each(split('ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i'), function(name) {
each(split('ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr'), function(name) {
if (elements[name]) {
elements[name].removeEmpty = true;
}