not part of build. Fix buildbustage from landing of bug 195262

git-svn-id: svn://10.0.0.236/trunk@140369 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sicking%bigfoot.com
2003-03-27 00:47:30 +00:00
parent 067a8c7f7c
commit e7ba34d286

View File

@@ -264,10 +264,10 @@ void txXMLOutput::closeStartTag(MBool aUseEmptyElementShorthand)
txOutAttr* att;
while ((att = (txOutAttr*)iter.next())) {
*mOut << SPACE;
const PRUnichar* attrVal;
att->mName.mLocalName->GetUnicode(&attrVal);
nsCAutoString attrVal;
att->mName.mLocalName->ToUTF8String(attrVal);
// XXX consult the XML spec what we really wanna do here
*mOut << NS_ConvertUCS2toUTF8(nsDependentString(attrVal)).get();
*mOut << attrVal.get();
if (!att->mShorthand) {
*mOut << EQUALS << DOUBLE_QUOTE;
printWithXMLEntities(att->mValue, MB_TRUE);