Index: _whatsnew.html
===================================================================
--- _whatsnew.html	(revision 2042)
+++ _whatsnew.html	(working copy)
@@ -112,6 +112,8 @@
 			properly wrap the text.</li> 
 		<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
+			nodeTagName object.</li> 
 	</ul>
 	<h3>
 		Version 2.6</h3>
Index: editor/_source/internals/fckselection_gecko.js
===================================================================
--- editor/_source/internals/fckselection_gecko.js	(revision 2042)
+++ 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.tagName == nodeTagName.toLocalUpperCase() ) return true ;
 		oContainer = oContainer.parentNode ;
 	}
 
@@ -180,7 +180,7 @@
 
 	while ( oContainer )
 	{
-		if ( oContainer.nodeName == nodeTagName )
+		if ( oContainer.nodeName == nodeTagName.toLocalUpperCase() )
 			return oContainer ;
 
 		oContainer = oContainer.parentNode ;
Index: editor/_source/internals/fckselection_ie.js
===================================================================
--- editor/_source/internals/fckselection_ie.js	(revision 2042)
+++ editor/_source/internals/fckselection_ie.js	(working copy)
@@ -147,7 +147,7 @@
 
 	while ( oContainer )
 	{
-		if ( oContainer.tagName == nodeTagName ) return true ;
+		if ( oContainer.tagName == nodeTagName.toLocalUpperCase() ) return true ;
 		oContainer = oContainer.parentNode ;
 	}
 
