 		protected var m_internalStyleIndex : Number;
 	
 		protected var m_labelXML : XML;
-	
-		protected var m_htmlMode : Boolean;
+		protected var m_usedLabelXML : XML;
+		protected var m_nodesMap : Array;
 	
 		protected var m_textAlignment : String;
 		protected var m_containsImages : Boolean;	

	import flash.text.AntiAliasType;
	import flash.text.GridFitType;
	import flash.text.TextField;
	import flash.text.TextFormat;
	
	use namespace reprise;


				case "ul":
				case "li":
				{
					//do nothing, these tags are fine
					break;
				}
				case "img":
