mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
not part of build. Fix buildbustage from landing of bug 195262
This commit is contained in:
parent
92db77904e
commit
10e99de3db
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user