mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 14:17:22 +00:00
real fix for the landing of bug 195262, npob, don't copy attr value, r/sr=peterv
This commit is contained in:
parent
8536c6897f
commit
f9b7910be7
@ -264,10 +264,9 @@ void txXMLOutput::closeStartTag(MBool aUseEmptyElementShorthand)
|
||||
txOutAttr* att;
|
||||
while ((att = (txOutAttr*)iter.next())) {
|
||||
*mOut << SPACE;
|
||||
nsCAutoString attrVal;
|
||||
att->mName.mLocalName->ToUTF8String(attrVal);
|
||||
// XXX consult the XML spec what we really wanna do here
|
||||
*mOut << attrVal.get();
|
||||
const char* attrVal;
|
||||
att->mName.mLocalName->GetUTF8String(&attrVal);
|
||||
*mOut << attrVal;
|
||||
if (!att->mShorthand) {
|
||||
*mOut << EQUALS << DOUBLE_QUOTE;
|
||||
printWithXMLEntities(att->mValue, MB_TRUE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user