From 0f6e0629f2630d2f7fe4a53b1fcd61b79f79a48d Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Mon, 9 Mar 2009 11:34:36 -0700 Subject: [PATCH] Attributes should be surrounded by double-quotes, not single quotes --- src/dom/attr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/attr.js b/src/dom/attr.js index b59178d8..8aef42dc 100644 --- a/src/dom/attr.js +++ b/src/dom/attr.js @@ -51,7 +51,7 @@ __extend__(DOMAttr.prototype, { return DOMNode.ATTRIBUTE_NODE; }, get xml(){ - return this.nodeName + "='" + this.nodeValue + "' "; + return this.nodeName + "=\"" + this.nodeValue + "\" "; }, toString : function(){ return "Attr #" + this._id + " " + this.name;