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

For 3.9.
Built from https://develop.svn.wordpress.org/branches/3.9@32373


git-svn-id: http://core.svn.wordpress.org/branches/3.9@32343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-05-06 05:36:17 +00:00
parent 10be03b2d7
commit b2c747a38e
4 changed files with 6 additions and 2 deletions

View File

@ -91,6 +91,10 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
'<img src="' + tinymce.Env.transparentSrc + '" class="wp-more-tag mce-wp-nextpage" ' +
'title="Page break" 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 = 27917;
*
* @global string $tinymce_version
*/
$tinymce_version = '4021-20140423';
$tinymce_version = '4021-20150505';
/**
* Holds the required PHP version