WordPress.org

Make WordPress Core

Ticket #16086: 16086.diff

File 16086.diff, 528 bytes (added by greuben, 10 years ago)

quick fix

  • wp-admin/js/editor.dev.js

     
    2525        _wp_Nop : function(content) {
    2626                var blocklist1, blocklist2;
    2727
     28                content = content.replace( '<p>&nbsp;</p>', '' );
     29               
    2830                // Protect pre|script tags
    2931                if ( content.indexOf('<pre') != -1 || content.indexOf('<script') != -1 ) {
    3032                        content = content.replace(/<(pre|script)[^>]*>[\s\S]+?<\/\1>/g, function(a) {