Index: FCKeditor/trunk/_whatsnew.html
===================================================================
--- FCKeditor/trunk/_whatsnew.html	(revision 2043)
+++ FCKeditor/trunk/_whatsnew.html	(revision 2046)
@@ -115,4 +115,6 @@
 		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The Samplepostdata.php has been
 			changed from "&lt;?=" to "&lt;? echo".</li> 
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor fix in fckselection for
+			nodeName attribute detection.</li> 
 	</ul>
 	<h3>
Index: FCKeditor/trunk/editor/_source/internals/fckselection_gecko.js
===================================================================
--- FCKeditor/trunk/editor/_source/internals/fckselection_gecko.js	(revision 2043)
+++ FCKeditor/trunk/editor/_source/internals/fckselection_gecko.js	(revision 2046)
@@ -163,5 +163,5 @@
 	while ( oContainer )
 	{
-		if ( oContainer.nodeType == 1 && oContainer.tagName == nodeTagName ) return true ;
+		if ( oContainer.nodeType == 1 && oContainer.tagName.IEquals( nodeTagName ) ) return true ;
 		oContainer = oContainer.parentNode ;
 	}
@@ -181,5 +181,5 @@
 	while ( oContainer )
 	{
-		if ( oContainer.nodeName == nodeTagName )
+		if ( oContainer.nodeName.IEquals( nodeTagName ) )
 			return oContainer ;
 
Index: FCKeditor/trunk/editor/_source/internals/fckselection_ie.js
===================================================================
--- FCKeditor/trunk/editor/_source/internals/fckselection_ie.js	(revision 2043)
+++ FCKeditor/trunk/editor/_source/internals/fckselection_ie.js	(revision 2046)
@@ -148,5 +148,5 @@
 	while ( oContainer )
 	{
-		if ( oContainer.tagName == nodeTagName ) return true ;
+		if ( oContainer.tagName.IEquals( nodeTagName ) ) return true ;
 		oContainer = oContainer.parentNode ;
 	}
