24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me

This commit is contained in:
akkana%netscape.com 2000-02-02 22:47:24 +00:00
parent 27ca515c4c
commit a06aa3ece0
2 changed files with 2 additions and 2 deletions

View File

@ -2523,7 +2523,7 @@ HTMLContentSink::SetTitle(const nsString& aValue)
nsIDOMText* tc;
rv = text->QueryInterface(kIDOMTextIID, (void**)&tc);
if (NS_OK == rv) {
tc->SetData(aValue);
tc->SetData(*mTitle);
NS_RELEASE(tc);
}
it->AppendChildTo(text, PR_FALSE);

View File

@ -2523,7 +2523,7 @@ HTMLContentSink::SetTitle(const nsString& aValue)
nsIDOMText* tc;
rv = text->QueryInterface(kIDOMTextIID, (void**)&tc);
if (NS_OK == rv) {
tc->SetData(aValue);
tc->SetData(*mTitle);
NS_RELEASE(tc);
}
it->AppendChildTo(text, PR_FALSE);