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: https://develop.svn.wordpress.org/trunk@23222 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2012-12-27 22:44:10 +00:00
parent 410dda2a96
commit c6d566d726
1 changed files with 1 additions and 1 deletions

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;
}