Typo in implementation.js
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Tue, 31 May 2011 14:35:03 -0600
changeset 218 2e831247b2f9
parent 217 be5fa809554a
child 219 4cbff22dbf0f
Typo in implementation.js
implementation.js
--- a/implementation.js	Tue May 31 13:47:20 2011 -0600
+++ b/implementation.js	Tue May 31 14:35:03 2011 -0600
@@ -1007,7 +1007,7 @@
 	// element with local name equal to one of those, and child is not a Text
 	// node, return false."
 	if ((["script", "style", "plaintext", "xmp"].indexOf(parent_) != -1
-	|| isHtmlElement(parent, ["script", "style", "plaintext", "xmp"]))
+	|| isHtmlElement(parent_, ["script", "style", "plaintext", "xmp"]))
 	&& (typeof child != "object" || child.nodeType != Node.TEXT_NODE)) {
 		return false;
 	}