зеркало из https://github.com/mozilla/pjs.git
Restoring fix for bug 224231, didn't affect btek's Tp.
This commit is contained in:
Родитель
a5900a43ce
Коммит
0c55888e97
|
@ -1343,7 +1343,7 @@ nsGenericDOMDataNode::AppendTextTo(nsAString& aResult)
|
||||||
if (mText.Is2b()) {
|
if (mText.Is2b()) {
|
||||||
aResult.Append(mText.Get2b(), mText.GetLength());
|
aResult.Append(mText.Get2b(), mText.GetLength());
|
||||||
} else {
|
} else {
|
||||||
AppendUTF8toUTF16(mText.Get1b(), aResult);
|
AppendASCIItoUTF16(mText.Get1b(), aResult);
|
||||||
}
|
}
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
|
@ -573,7 +573,7 @@ nsAttributeContent::AppendTextTo(nsAString& aResult)
|
||||||
aResult.Append(mText.Get2b(), mText.GetLength());
|
aResult.Append(mText.Get2b(), mText.GetLength());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
AppendUTF8toUTF16(mText.Get1b(), aResult);
|
AppendASCIItoUTF16(mText.Get1b(), aResult);
|
||||||
}
|
}
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
|
@ -299,7 +299,7 @@ nsIndexedToHTML::OnStartRequest(nsIRequest* request, nsISupports *aContext) {
|
||||||
buffer.Append(strNCR);
|
buffer.Append(strNCR);
|
||||||
|
|
||||||
buffer.Append(NS_LITERAL_STRING("</title><base href=\""));
|
buffer.Append(NS_LITERAL_STRING("</title><base href=\""));
|
||||||
buffer.Append(NS_ConvertASCIItoUCS2(baseUri));
|
AppendASCIItoUTF16(baseUri, buffer);
|
||||||
buffer.Append(NS_LITERAL_STRING("\"/>\n"));
|
buffer.Append(NS_LITERAL_STRING("\"/>\n"));
|
||||||
|
|
||||||
buffer.Append(NS_LITERAL_STRING("<style type=\"text/css\">\n") +
|
buffer.Append(NS_LITERAL_STRING("<style type=\"text/css\">\n") +
|
||||||
|
|
Загрузка…
Ссылка в новой задаче