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:
parent
10be03b2d7
commit
b2c747a38e
|
@ -91,6 +91,10 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||||
'<img src="' + tinymce.Env.transparentSrc + '" class="wp-more-tag mce-wp-nextpage" ' +
|
'<img src="' + tinymce.Env.transparentSrc + '" class="wp-more-tag mce-wp-nextpage" ' +
|
||||||
'title="Page break" data-mce-resize="false" data-mce-placeholder="1" />' );
|
'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
Binary file not shown.
|
@ -18,7 +18,7 @@ $wp_db_version = 27917;
|
||||||
*
|
*
|
||||||
* @global string $tinymce_version
|
* @global string $tinymce_version
|
||||||
*/
|
*/
|
||||||
$tinymce_version = '4021-20140423';
|
$tinymce_version = '4021-20150505';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the required PHP version
|
* Holds the required PHP version
|
||||||
|
|
Loading…
Reference in New Issue