зеркало из https://github.com/mozilla/pjs.git
not part of build. Fix buildbustage from landing of bug 195262
This commit is contained in:
Родитель
7c5956faf6
Коммит
9af5a3ff29
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче