Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 7513)
+++ /CKEditor/trunk/CHANGES.html	(revision 7514)
@@ -56,4 +56,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/7745">#7745</a> : The list of frames on JAWS will not any more show the "ALT+0 for help" text for the editor entry.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/8979">#8979</a> : Overriding matches will not any more interfere on the Font size combo.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5447">#5447</a> : Trimmed anchor name on dialog field.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/8997">#8997</a> : Styles are lost on sub-lists when convering list type.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/8917">#8917</a> : [IE7] Dialog size are stretched when long text field value is received.</li>
Index: /CKEditor/trunk/_source/plugins/link/dialogs/anchor.js
===================================================================
--- /CKEditor/trunk/_source/plugins/link/dialogs/anchor.js	(revision 7513)
+++ /CKEditor/trunk/_source/plugins/link/dialogs/anchor.js	(revision 7514)
@@ -26,5 +26,5 @@
 		onOk : function()
 		{
-			var name = this.getValueOf( 'info', 'txtName' );
+			var name = CKEDITOR.tools.trim( this.getValueOf( 'info', 'txtName' ) );
 			var attributes =
 			{
