JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.3
[ckeditor.git] / _source / plugins / link / dialogs / anchor.js
index c02d556..3748e36 100644 (file)
@@ -26,7 +26,7 @@ CKEDITOR.dialog.add( 'anchor', function( editor )
                {\r
                        // Always create a new anchor, because of IE BUG.\r
                        var name = this.getValueOf( 'info', 'txtName' ),\r
-                               element = CKEDITOR.env.ie ?\r
+                               element = CKEDITOR.env.ie && !( CKEDITOR.document.$.documentMode >= 8 ) ?\r
                                editor.document.createElement( '<a name="' + CKEDITOR.tools.htmlEncode( name ) + '">' ) :\r
                                editor.document.createElement( 'a' );\r
 \r