Fix bug 382098 - E4X attribute literals broken. Patch from Adam de Boor

<adeboor@google.com>.


git-svn-id: svn://10.0.0.236/trunk@230353 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nboyd%atg.com
2007-07-20 12:05:29 +00:00
parent f6310de50e
commit c2de95158a

View File

@@ -3813,7 +3813,7 @@ switch (op) {
case Token.ESCXMLATTR : {
Object value = stack[stackTop];
if (value != DBL_MRK) {
stack[stackTop] = "\"" + ScriptRuntime.escapeAttributeValue(value, cx) + "\"";
stack[stackTop] = ScriptRuntime.escapeAttributeValue(value, cx);
}
continue Loop;
}