From c6d566d7265bcefe8553ccd461d0d739aef67bb0 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 27 Dec 2012 22:44:10 +0000 Subject: [PATCH] TinyMCE: don't remove empty , , and 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 --- wp-includes/js/tinymce/wp-tinymce-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/wp-tinymce-schema.js b/wp-includes/js/tinymce/wp-tinymce-schema.js index 94dbc23d10..e2a05d8791 100644 --- a/wp-includes/js/tinymce/wp-tinymce-schema.js +++ b/wp-includes/js/tinymce/wp-tinymce-schema.js @@ -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; }