WordPress.org

Make WordPress Core

Changeset 31819


Ignore:
Timestamp:
03/18/2015 08:52:35 PM (7 years ago)
Author:
azaozz
Message:

TinyMCE: small cleanup for stripping of tags from pasted URLs. See #31158.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wpview/plugin.js

    r31817 r31819  
    195195            } );
    196196
    197             if ( node.nodeName !== 'P' || trim( node.textContent ) || trim( node.innerText ) ) {
     197            if ( node.nodeName !== 'P' || trim( node.textContent || node.innerText ) ) {
    198198                return;
    199199            }
Note: See TracChangeset for help on using the changeset viewer.