Index: /FCKeditor/trunk/editor/_source/classes/fckstyle.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckstyle.js	(revision 853)
+++ /FCKeditor/trunk/editor/_source/classes/fckstyle.js	(revision 854)
@@ -687,8 +687,10 @@
 	_ApplyInlineStyle : function( range, selectIt )
 	{
+		var doc = range.Window.document ;
+		
 		if ( range.CheckIsCollapsed() )
 		{
 			// Create the element to be inserted in the DOM.
-			var collapsedElement = this.BuildElement( range.Window.document ) ;
+			var collapsedElement = this.BuildElement( doc ) ;
 
 			// The following, which would be the correct and simple way for it,
@@ -709,9 +711,8 @@
 			{
 				// Opera has a special case.
-				collapsedElement.innerHTML = '&nbsp;' ;
+				collapsedElement.appendChild( doc.createTextNode('') ) ;
 				range.InsertNode( collapsedElement ) ;
 				range.MoveToNodeContents( collapsedElement ) ;
 				range.Select() ;
-				FCKSelection.Delete() ;
 			}
 			else if ( FCKBrowserInfo.IsSafari )
@@ -725,5 +726,5 @@
 				// removed by the browser in the selection operation, or even
 				// remain there, but with no blinking cursor.
-				var dummySpan = collapsedElement.appendChild( range.Window.document.createElement( 'span' ) ) ;
+				var dummySpan = collapsedElement.appendChild( doc.createElement( 'span' ) ) ;
 
 				// Our dummySpan must be filled on IE, otherwise it will be
@@ -872,5 +873,5 @@
 			{
 				// Build the style element, based on the style object definition.
-				styleNode = this.BuildElement( range.Window.document ) ;
+				styleNode = this.BuildElement( doc ) ;
 
 				// Move the contents of the range to the style element.
