TinyMCE: work-around a bug in the tags matching regex.

For 4.1.
Built from https://develop.svn.wordpress.org/branches/4.1@32371


git-svn-id: http://core.svn.wordpress.org/branches/4.1@32341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-05-06 05:33:26 +00:00
parent 9037f65f7a
commit f70e3c08da
4 changed files with 6 additions and 2 deletions

View File

@ -106,6 +106,10 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
'<img src="' + tinymce.Env.transparentSrc + '" data-wp-more="nextpage" class="wp-more-tag mce-wp-nextpage" ' + '<img src="' + tinymce.Env.transparentSrc + '" data-wp-more="nextpage" class="wp-more-tag mce-wp-nextpage" ' +
'title="' + title + '" data-mce-resize="false" data-mce-placeholder="1" />' ); 'title="' + title + '" data-mce-resize="false" data-mce-placeholder="1" />' );
} }
if ( e.content.indexOf( '<?"' ) !== -1 ) {
e.content = e.content.replace( /<\?"/g, '' );
}
} }
}); });

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ $wp_db_version = 30134;
* *
* @global string $tinymce_version * @global string $tinymce_version
*/ */
$tinymce_version = '4107-20150118'; $tinymce_version = '4107-20150505';
/** /**
* Holds the required PHP version * Holds the required PHP version