JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.4
[ckeditor.git] / _source / plugins / link / dialogs / anchor.js
index 1e5b0ae..c9b54c5 100644 (file)
@@ -25,7 +25,7 @@ CKEDITOR.dialog.add( 'anchor', function( editor )
                minHeight : 60,\r
                onOk : function()\r
                {\r
-                       var name = this.getValueOf( 'info', 'txtName' );\r
+                       var name = CKEDITOR.tools.trim( this.getValueOf( 'info', 'txtName' ) );\r
                        var attributes =\r
                        {\r
                                name : name,\r