 				delete node.@style;
 			}
 			
-			if (nodeStyle)
-			{
-				var styleName : String = 
-					nodeStyle.textStyleName(m_internalStyleIndex++ == 0);
-				node.@['class'] = styleName;
-				
-				// check if the label has mixed textAlign properties.
-				// If it does its TextField can't be shrinked horizontally
-				if (m_textAlignment != 'mixed')
-				{
-					var textAlignProperty : CSSProperty = nodeStyle.getStyle('textAlign');
-					var textAlign : String;
-					if (textAlignProperty)
-					{
-						textAlign = textAlignProperty.valueOf() as String;
-					}
-					else
-					{
-						textAlign = 'left';
-					}
-					if (!m_textAlignment)
-					{
-						m_textAlignment = textAlign;
-					}
-					else if (m_textAlignment != textAlign)
-					{
-						m_textAlignment = 'mixed';
-					}
+			var styleName : String = nodeStyle.textStyleName(m_internalStyleIndex++ == 0);
+			node.@['class'] = styleName;
+			
+			// check if the label has mixed textAlign properties.
+			// If it does its TextField can't be shrinked horizontally
+			if (m_textAlignment != 'mixed')
+			{
+				var textAlignProperty : CSSProperty = nodeStyle.getStyle('textAlign');
+				var textAlign : String;
+				if (textAlignProperty)
+				{
+					textAlign = textAlignProperty.valueOf() as String;
+				}
+				else
+				{
+					textAlign = 'left';
+				}
+				if (!m_textAlignment)
+				{
+					m_textAlignment = textAlign;
+				}
+				else if (m_textAlignment != textAlign)
+				{
+					m_textAlignment = 'mixed';
 				}
 			}
 			
 			switch (node.localName())
 			{
-				//TODO: Check if we need the whitespace cleanup stuff. We most certainly 
-				//don't, because we call XML::normalize on the root node. (Ok, turns out 
-				//we don't do that, but use TextField::condenseWhite, so that should be 
-				//fine.)
-//				case "br":
-//				{
-//					//remove all redundant whitespace around "<br />"-tags
-//					var parent : XML = node.parent();
-//					var siblings : XMLList = parent ? parent.children() : null;
-//					if (!siblings)
-//					{
-//						//we are the root node, get outta here
-//						//TODO: check if that's even possible
-//						 break;
-//					}
-//					var sibling : XML = siblings[node.childIndex() - 1];
-//					if (sibling && sibling.nodeKind() == 'text')
-//					{
-//						sibling.setChildren(StringUtil.rTrim(sibling.toString()));
-//					}
-//					sibling = siblings[node.childIndex() + 1];
-//					if (sibling && sibling.nodeKind() == 'text')
-//					{
-//						sibling.setChildren(StringUtil.lTrim(sibling.toString()));
-//					}
-//					break;
-//				}
 				case "a":
 				{
 					//extract all links and redirect them to an ActionScript method

			m_labelDisplay.mouseEnabled = false;
			m_labelDisplay.styleSheet = CSSDeclaration.TEXT_STYLESHEET;
			m_contentDisplay.addEventListener(MouseEvent.CLICK, labelDisplay_click);
			m_labelDisplay.addEventListener(TextEvent.LINK, labelDisplay_link);
		}
		protected override function initDefaultStyles() : void
		{
			m_elementDefaultStyles.setStyle('selectable', 'true');

		 * cleanes the given node to prepare it for display in a TextField
		 */
		protected function cleanNode(node:XML, selectorPath:String, 
			stylesheet:CSS, index : int = 0, transform:String = null) : int
		{
			var startIndex : int = index;
			if (node.nodeKind() == 'text')
			{
				if (transform)
