Index: _source/core/htmlparser/element.js
===================================================================
--- _source/core/htmlparser/element.js	(revision 7438)
+++ _source/core/htmlparser/element.js	(working copy)
@@ -47,10 +47,10 @@
 				|| dtd.$tableContent[ tagName ]
 				|| dtd.$nonEditable[ tagName ]
 				|| tagName == 'br' ),
-		isEmpty = !!dtd.$empty[ name ];
+		isEmpty = !!dtd.$empty[ tagName ];
 
 	this.isEmpty	= isEmpty;
-	this.isUnknown	= !dtd[ name ];
+	this.isUnknown	= !dtd[ tagName ];
 
 	/** @private */
 	this._ =
