Skip to content

Commit

Permalink
Attributes should be surrounded by double-quotes, not single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Gilligan committed Mar 9, 2009
1 parent 7a07eb5 commit 0f6e062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/attr.js
Expand Up @@ -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;
Expand Down

0 comments on commit 0f6e062

Please sign in to comment.