Index: _whatsnew.html
===================================================================
--- _whatsnew.html	(revision 2071)
+++ _whatsnew.html	(working copy)
@@ -46,6 +46,8 @@
 	<ul>
 		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2248">#2248</a>] Calling FCK.InsertHtml( 'nbsp;') was inserting a plain space instead of a non breaking space
 			character.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor fix in fckselection for
+			nodeTagName object.</li> 
 	</ul>
 	<p>
 	</p>
Index: editor/_source/internals/fckselection_gecko.js
===================================================================
--- editor/_source/internals/fckselection_gecko.js	(revision 2071)
+++ editor/_source/internals/fckselection_gecko.js	(working copy)
@@ -162,7 +162,7 @@
 
 	while ( oContainer )
 	{
-		if ( oContainer.nodeType == 1 && oContainer.tagName == nodeTagName ) return true ;
+		if ( oContainer.nodeType == 1 && oContainer.nodeName.IEquals( nodeTagName ) ) return true ;
 		oContainer = oContainer.parentNode ;
 	}
 
@@ -180,7 +180,7 @@
 
 	while ( oContainer )
 	{
-		if ( oContainer.nodeName == nodeTagName )
+		if ( oContainer.nodeName.IEquals( nodeTagName ) )
 			return oContainer ;
 
 		oContainer = oContainer.parentNode ;
Index: editor/_source/internals/fckselection_ie.js
===================================================================
--- editor/_source/internals/fckselection_ie.js	(revision 2071)
+++ editor/_source/internals/fckselection_ie.js	(working copy)
@@ -147,7 +147,7 @@
 
 	while ( oContainer )
 	{
-		if ( oContainer.tagName == nodeTagName ) return true ;
+		if ( oContainer.nodeName.IEquals( nodeTagName ) ) return true ;
 		oContainer = oContainer.parentNode ;
 	}
 
